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 using java script css and html

Piotr 250

@Piotrek1994

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


I know that there are to many functions in my project, but I didin't find the way to do it better.

Community feedback

Mirosław 240

@miroslaw-mroczkowski

Posted

Hi Piotr,

You can use "querySelectorAll" on your buttons and iterate using "for" loop or "forEach" method, use addEventListener to get proper value on each 'click' event.

The design looks good but the card body is almost not visible. You could use Dark Blue - hsl(213, 19%, 18%), instead of Very Dark Blue.

In case of any questions feel free to contact me or check my solution :)

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