Xplore is a web app built based on REST countries API, that provides information about countries via a RESTful API. This project collects information from The REST countries site and provide it in a simple organized way as a web app so that it can be applicable by travel agencies or for personal use to get info about a country or region easily
MIT License
0
stars
0
forks
source link
[3pt] - Add all items counter on the Homepage - Abbas #26
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: