Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

rating component with javascript

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

Solution retrospective


This was a fun challenge. It made me experiment with different ways to reveal the flip side of the card with the rating and the thank you message. I eventually settled on using the inner html method to replace the front card with the flip side just for the fun of it. I also added a little modal that pops up whenever the user submits without selecting a rating. Your feedback is welcome. Thanks.

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

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