Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

using radio buttons and js

accessibility
Julia Huchthausen•10
@huchthausen-julia
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


  1. This project was a big challenge for me, because first times don´t us the form and label tag (instead button tag), so i have to start completely new.

  2. After my second attempt to start the project, i was faced with the challenge of styling the radio buttons so that the numbers 1 - 5 were aligned in the center of the button. I'm proud that I managed to integrate the voting value on the "thank you" card. That caused me a lot of pondering. In addition, the browser automatically removed the spaces before and after the value.....:-(

  3. After completing the project, I have already received feedback that some values do not necessarily have to be stored in a variable. Is it best practice for you to only create a variable when it is used several times in the code?

Many thanks in advance for your honest, critical feedback

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Julia Huchthausen's solution.

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub