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

Rating component using HTML, CSS and Vanilla js using LocalStorage

@krishna-cyber

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


Hello 👋, it seems simple but it was a little bit tricky and I have done this using pure javascript and local storage..... ALL FEEDBACKS ARE ACCEPTED HAPPILY

Community feedback

Azhar 600

@azhar1038

Posted

Hi Krishna, Nice work!

I have few suggestions:

  • Try to use radio button to create the ratings instead of using span as it can cause accessibility issues.
  • When the width of screen is around 700px, the component gets squeezed and then expands around 600px
  • Background of star icon on top left becomes orange upon hovering thus hiding the star

Hope it helps :)

Marked as helpful

1

@krishna-cyber

Posted

@azhar1038 Hope you'll be fine there, I checked my solution again and actually, I got it responsive ness for mobile and desktop view only...and thanks a lot, you watched out my code and giving suggestions that makes me improve and optimized code.... can you explain clearly how to use radio button instead of using span tag

0

@krishna-cyber

Posted

@azhar1038 hover issue fixed on star icon

0

@krishna-cyber

Posted

@azhar1038 can you please check out my code now👌👌

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