This project is built using JavaScript, HTML, and CSS, with webpack as the build tool. It makes use of the PokeAPI to retrieve information about each Pokemon, and also utilizes a custom API to store and retrieve comments.
Even if the API gives you the number of comments you will create a specific function to calculate it.
Make sure that the correct number is displayed on the Comments pop up.
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.
As we begin working on our JavaScript Capstone project, we need to set up our project environment. To begin, please find the link to our project repository: https://github.com/MussieTeka/JavaScript-Group-Capstone. As a reminder, our team comprises the following members:
Create a comments popup only with the top section (displaying details of the selected item)
When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.
Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).
Find an API to base the development of the webapp around it. The API should allow you to
Get a list of items with a unique item id (or generate the unique id).
For a given item, get detailed information about it.
choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.
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.