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

Likes Button Component #7

Open
vasuchal opened this issue Aug 30, 2021 · 0 comments
Open

Likes Button Component #7

vasuchal opened this issue Aug 30, 2021 · 0 comments

Comments

@vasuchal
Copy link
Member

vasuchal commented Aug 30, 2021

Description

Create a button or "likes" component on the front page where every time, the button is clicked, it counts as a like for the website. useState and Event Handlers will be demonstrated through storing count of "likes" (number of times clicked) and onClick on button of Likes component

Learning objectives

  • useState and useEffect
  • event handlers

Note: Make sure to pull from the branch called modularize-to-components

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

1 participant