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

@yasingunaydiin

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


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

Nothing. The images show in my localhost. Not in the github live page as usual.

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

The :focus css doesnt work, i gave up.

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

none

Community feedback

@SvitlanaSuslenkova

Posted

https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_active_element

0

@SvitlanaSuslenkova

Posted

When you click outside of the button, focus is lost, so your class will be romoved. You need to add class (focus css) to the button you click and remove class from the rest of the buttons. So it's js, not css task.

0

@yasingunaydiin

Posted

I have seen tutorials where they just used only CSS. It should work. @SvitlanaSuslenkova

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