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

CSS, Javascript DOM manipulation, List properties, Class and Functions

Bala 50

@balanambi88

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


When i console.log() the clicked buttons, i see it is logged twice. Although it did not impact the desired result, i still not able to break it from printing twice, with event.stopPropagation() technique. If some response for this, would be appreciated. Thank you

Community feedback

P
markus 1,940

@markuslewin

Posted

You're embedding the script twice; once in the head, and once in the end of the body!

Marked as helpful

1

Bala 50

@balanambi88

Posted

@markuslewin I see, thank you for your time for helping me with this Markus. I thought putting it twice wont have a impact on the execution. Apparently i was wrong. thanks 😊

1

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