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 built with Flex and ❤️

Scott 280

@Scott1UP

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?

Had a lot of fun with this one. The JS side of things was interesting and a nice break from writing regex and toggling error classes :)

Community feedback

@NeoScripter

Posted

Nice! I also recently did this one. Just as an improvement (just my idea), you could add a way to return back to the survey. In my case, I set timeout in JS file like that: setTimeout(() => { document.getElementById('result-page').style.display = 'none'; document.getElementById('evaluation-page').style.display = 'grid'; document.querySelectorAll('#evaluation-page button').forEach(b => { b.style.backgroundColor = ''; }); selectedScore = null; }, 3000);

And will return back to the first page after 3 seconds. But that's just my idea.

1

Scott 280

@Scott1UP

Posted

Thanks @NeoScripter !

Appreciate you taking the time to provide me with some feedback — setting a Timeout to return to the original state is a nice upgrade to the UX :)

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