Design comparison
Solution retrospective
I wrote this in VS Code (1.7.1.2) and tested it in Firefox (104.0.1).
If anyone has any comments regarding my JavaScript, I would really appreciate it. My JavaScript skills are still in the beginner stages, and I feel like my solution is very reflective of that. For instance, would it be more beneficial to move the functions that are inside the addEventListener and forEach methods into the global scope so that these functions can be called, if need be, elsewhere?
Community feedback
- @icaroMendes777Posted about 2 years ago
you asked about your js and it looks great (not an expert here tho...) but if I can offer a suggestion, is common a validation to check if the user gave an evaluation before submitting, so I would not submit any evaluation if the user didn't actually gave one. But it was not explicit that in the requirements, so then it is up to you.
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