I'm having trouble when deploying on Github Pages

Pretty ambiguous question but I haven't found a solution yet. I did a quick project with SASS and when developing everything was working correctly along with the Live Server Extension but now when I deployed it, it looks as if I didn't use any CSS. Why can it be? https://github.com/Norwyx/interactive-rating-component
GitHub
GitHub - Norwyx/interactive-rating-component: Frontend Mentor Respo...
Frontend Mentor Responsive Web Design Project. Interactive Rating Component. - Norwyx/interactive-rating-component
8 Replies
Jochem
Jochem•10mo ago
If you look at the network tab of the dev tools, you'll see it's giving you a 404 on the stylesheet
No description
Jochem
Jochem•10mo ago
you're refering to your stylesheet as /dist/style.css. Your browser interprets that as "dist/style.css at the root of the domain", so it's trying to load https://norwyx.github.io/dist/style.css instead of https://norwyx.github.io/interactive-rating-component/dist/style.css it should be enough to just ditch the opening / in front of /dist in your link tag
Norwyx
NorwyxOP•10mo ago
Let me try bro. Btw, how did you access that window? I just bought my mac and can't seem to find it in safari
Jochem
Jochem•10mo ago
F12
Norwyx
NorwyxOP•10mo ago
still doesnt work bro don't know why
Jochem
Jochem•10mo ago
it is loading now, it's just not applying yet. I think it's because you have type="text/scss" instead of type="text/css"
Norwyx
NorwyxOP•10mo ago
i changed it. lets hope now it works It did. Thanks @Jochem
Jochem
Jochem•10mo ago
nice! Glad to help 🙂
Want results from more Discord servers?
Add your server