Oops! You need to be logged in to do that
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Oops! You need to be logged in to do that
Not Found
Oops! You need to be logged in to do that
Not Found
Not Found
Oops! You need to be logged in to do that
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive rating component with JS

@MOGWAmogwa

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View Challenge

Design Comparison

SolutionDesign

Report

3

Accessibility Issues

0

HTML Issues

View Report

MOGWAmogwa’s questions for the community

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 focus on giving high-quality, helpful feedback and answering any questions MOGWAmogwa might have. Here are some key points to consider:

  • Does the solution include semantic HTML?
  • Is it accessible, and what improvements could be made?
  • Does the layout look good on a range of screen sizes?
  • Is the code well-structured, readable, and reusable?

You can read our community guidelines if you're unsure what to post.

Slack logo

Join our Slack community

Join over 100,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!