MovieShows is a web app that showcases a selection of popular movies sourced from a third-party API. Users can browse movie details, including the synopsis, cast, and ratings, and interact with movies by liking or commenting on them. The site is optimized for performance and responsive design, ensuring a smooth user experience on any device.
Even if the API gives you the number of items, you will create a specific function to calculate it.
Make sure that the correct number is displayed on the Homepage.
Respect the following rules:
Each counter should be implemented as a separate module.
A counter function should look for specific DOM elements (e.g. for the comments counter it should look for comments) and make the counting based on what is actually displayed on the page.
A counter function should cover all the edge cases you can think about.
Even if the API gives you the number of items, you will create a specific function to calculate it.
Make sure that the correct number is displayed on the Homepage.
Respect the following rules: