IndieCoderMM / IndieCoderMM/js-capstone
[3pt] - Add reservations counter - Student C
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Even if the API gives you the number of reservations you will create a specific function to calculate it.
Make sure that the correct number is displayed on the Reservations 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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the page DOM and the Reservations pop-up to identify the reservation elements that are actually displayed. Implement the counter as a separate module, account for relevant empty or missing-element cases, and verify that the pop-up shows the correct number of reservations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100