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 solution

EL harabiy 230

@Mubarak-Adeyemi

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?

I’m most proud of successfully implementing the popovertarget attribute and creating a fully accessible design using ARIA attributes. I also achieved a smooth user experience with form reset functionality after modal interaction. Next time, I’d focus on adding real-time form validation and improving keyboard accessibility for even better usability.

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

The biggest challenge was integrating the popovertarget within the form. The form's default behavior was interfering with the modal popover. I solved this by using e.preventDefault() to manually handle form submission and modal display. I also encountered difficulties with error messaging, which I fixed by switching from the hidden attribute to using classList in JavaScript along with aria-live to make error messages accessible.

Community feedback

Obare 290

@simplyObare

Posted

looks good

Marked as helpful

0

EL harabiy 230

@Mubarak-Adeyemi

Posted

Thanks

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