Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

Responsive Rating card using basic JS

Jeff Hensley•80
@jeff-hensley
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm quite proud that I was able to get everything working properly. Even added a little close button to go back to the original card.

What challenges did you encounter, and how did you overcome them?

To be honest It was stupid but I put my JS file in the wrong folder in my directory and like a dumb dumb spent way to long trying to figure out why my JS wasn't working. I also struggled with the active states of the buttons in CSS but eventually got it kind of of to work on hover.

What specific areas of your project would you like help with?

I could not figure out how to keep the active states of the buttons until the submit. I want the buttons to stay orange until submit is used and then if another button is clicked before submit is clicked then the active state changes to that button.

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 Jeff Hensley'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