Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Rock, Paper, Scissors, Lizard, Spock game challenge

#styled-components#tailwind-css#react
Gabriel Pinheiroโ€ข 260

@GabrielFMPinheiro

Desktop design screenshot for the Rock, Paper, Scissors game coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
4advanced
View challenge

Design comparison


SolutionDesign

Community feedback

P
Graceโ€ข 27,950

@grace-snow

Posted

Hi

Well done on this and especially well done for using buttons (so many forget on this one). Now just very important to finish making them accessible with labelling as called out in the report ๐Ÿ˜‰

The only thing not working for me is the score isnโ€™t updating, it stays on 0. So definitely look into that too

Marked as helpful

1
Gabriel Pinheiroโ€ข 260

@GabrielFMPinheiro

Posted

Hi Grace,

Thanks for the feedback!!!

The accessibility errors have been fixed. =)

Now, I ran the tests on computer and mobile and apparently the score is updating normally when someone loses or wins. In case you have any idea what might be going on?

The logic is the following: it starts the state taking from the local storage, if no value is found, it starts with 0. After that, the state updates and also saves in the local storage.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord