Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Interactive Rating Component - HTML, CSS, JS, FLEX

Mike•115
@maquinde
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello All,

Please review my solution!

I had some trouble with the JS portion of this and had to review how other people approached this challenge. Once I got an idea of how I could tackle targeting elements, it was a lot easier. Google searches for "javascript how to xxxx" really helped as well.

I was really unsure if I was following best practices for my HTML, CSS, and JS. I would always second guess myself with HTML semantics, reusing CSS, and whether or not to add another JS file just for the submit button.

I would appreciate any feedback on best practices and what you would have done different with my solution.

Thank you!

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 Mike'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

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

Frontend Mentor

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

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