HTML & SCSS

Solution retrospective
I think i did pretty well and i´m proud. tell me if i can do something better. I notice that the img is not displayed since i uploaded the code to GitHub pages. do you know why?
UPDATE: I fix the img thing(thanks Vinay Puppal). Then I uploaded the code not by pushing from the console, but by uploading the files directly in GitHub. Now the card its bigger and idk why!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @vinaypuppal
Hey, seems like it's trying to load from
https://jsegundo.github.io/images/image-header-mobile.jpg
instead ofhttps://jsegundo.github.io/FE-Mentor-card/images/image-header-mobile.jpg
.The reason is you referenced it from the root folder in your
style.css
i.e/images/image-header-mobile.jpg
instead of../images/image-header-mobile.jpg
This may have worked locally because
/
points to your project folder but in GH pages/
does not point to this project repo folder.I hope this is clear if not let me know.
Marked as helpful - @FluffyKas
Is your uploaded file hierarchy different than the on on your desktop? Perhaps the reference in your scss has changed.
Marked as helpful
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