Design comparison
Solution retrospective
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
- @NeoScripterPosted 9 months ago
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@Scott1UPPosted 9 months agoThanks @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 GitHubJoin 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