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

Interactive rating component

@Lc-Olimpio

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


At the start of the challenge I wasn't sure if I should build a second page for the 'thank you' or if I should do it the way I did. I opted for doing it like this because I don't know of a way to get the value of the buttons on another page after the submit.

I also opted for doing the 'selected' effect with JS instead of using buttons and focus because the focus attribute would go off whem clicking elsewhere on the site that wasn't a button.

Also, should I have done the score buttons as actual <button> or is it fine using <ul> <li>?

Sorry for any english misspelling. All feedback is appreciated ! :D

Community feedback

@Lc-Olimpio

Posted

"Also, should I have done the score buttons as actual <button> or is it fine using <ul> <li>?" I edited back to put buttons since the site told me I shouldn't use the value attribute on <li>

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