Design comparison
Solution retrospective
I tried my best to use what I've learned so far. (I'm Korean. my English is not good enough so I'd appreciate it if you let me know when you don't understand my sentence.)
I wasn't sure of my codes. especially,
if (num.length>1 && ratingNum!=num[num.length-2] ){ storage[storage.length-2].classList.remove('colorChange') }
<- this part. I think there would be a better solution using only 'num.length' without using variable "storage" .
I'm a newbie so I'm not sure it is okay with my html, css and js...
feel free to point out my work.
Thank you.
Community feedback
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