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

compliments #31

Open
minju25kim opened this issue Jun 9, 2022 · 0 comments
Open

compliments #31

minju25kim opened this issue Jun 9, 2022 · 0 comments

Comments

@minju25kim
Copy link

minju25kim commented Jun 9, 2022

Awfilm 💯

function toggleOpen() {
setOpen(!open);
}

nice use of toggle status.

<button
onClick={() => {
props.setGuesses(0);
props.setLives(5);
props.setCorrect(0);
}}
>
RESTART GAME
</button>

nice way to restart.

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