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🚀

@AbderrahmaneGuerinik

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 community👋

Here is another project finished

  • Responsive for tablet-desktop and mobile📱.

  • 99% Performance 100% SEO 92% Accessibility

  • Your feedback can really help me!

Enjoy coding!👨‍💻✨

Community feedback

P
Fluffy Kas 7,735

@FluffyKas

Posted

Heyo,

Looks like a really good solution! One thing you could do is to disable the submit button until the user chooses a rating to prevent empty submissions. Few tips to improve on accessibility:

  • They best solution for this sort of rating system is radio buttons. The function of a list of regular buttons may not be immediately obvious for someone who doesn't rely on visuals to use the internet (e.g. ppl using screen readers). To achieve this, you can visually hide the radio buttons and display their labels as the clickable "buttons". Plus, this makes handling the JS bit much easier too. Probably you won't rework the challenge, but I thought it's something you might wanna keep in mind the next time you face a problem like this.
  • Although this is just a component, it's generally a good idea to wrap all your content in at least a <main> tag.
  • For decorative images, you should leave the alt text blank (the star icon and the little image on the thank you page could be both considered decorative images).

Well done :)

Marked as helpful

2

@AbderrahmaneGuerinik

Posted

@FluffyKas Thanks for sharing your knowledge!✨😊

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