Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive rating component solution using Sass and pure JavaScript

@iamdylanmj

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


As an absolute beginner, this challenge was pretty hard for me, I had to struggle with relative path of images, I used Sass to do the styling part, and used background-image property for images, however when I use relative path to images, they work fine when the live server is running, but without the live server , images did not load except fav-icon, but when I run this project on a simple express js server, it worked well. but after dozens of google search, and chatGPT search, I finally realized the problem is image path is built in relation to scss file, so I had to change relative path that match with generated css file, please someone has a solution for this , please share with me, it will help me in my future projects, and also I am asking you guys reviewing my code and just leave something for me that you feel good, thanks.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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