Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 month ago

HTML, CSS, JS, Git, GitHub, Netlify, PerfectPixel, Lighthouse

accessibility, bem, lighthouse
Elmar Chavez•1,110
@CodingWithJiro
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

That I finished this faster than the previous newbie HTML-CSS-JS project!

What challenges did you encounter, and how did you overcome them?

I struggled and experimented much on animationend events and setTimeout() for my site's UI/UX but I managed to pull through.

What specific areas of your project would you like help with?

Is my JavaScript code clean?

  • I'm trying my best in making each function to have one purpose only
  • I've also been practing JavaScript in CodeWars
  • However, I feel like my code is still messy
  • Is my module naming correct? (e.g. ui.js, theme.js, rating.js)
  • Do one or more of my codes belong to a much better module file instead?
  • Are there sites or documents would you like to recommend for writing better modular JavaScript?

I would very much appreciate it if someone points out my errors in this challenge especially in my JavaScript code. Other feedbacks are also welcome! Thank you in advance.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Elmar Chavez's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License