Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3pt] - Add comments counter - Student B #5

Open
RileyManda opened this issue Jul 3, 2023 · 0 comments
Open

[3pt] - Add comments counter - Student B #5

RileyManda opened this issue Jul 3, 2023 · 0 comments
Assignees

Comments

@RileyManda
Copy link
Owner

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.
@CELYNEBIRUNGI CELYNEBIRUNGI self-assigned this Jul 3, 2023
@RileyManda RileyManda reopened this Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants