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

fylo-data-storage-component-master

@ravisingh8v

Desktop design screenshot for the Fylo data storage component coding challenge

This is a solution for...

  • HTML
  • CSS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


GitHub Live Svg's not loading

Community feedback

P

@Eileenpk

Posted

Hi Ravisingh8v, your project looks good. The reason the SVGs aren't loading might be that you are using a relative path, and you may need to use a . in front of the / to indicate that the path is relative to the root directory of the project. For example, if you have an image file stored in the assets directory at the root of your project, you could use the following path to reference the image: ./assets/images/image.jpg.

This is because Github Pages serves the website files from the docs directory by default, and the ./ in front of the / ensures that the path is relative to the root directory of the project, rather than the docs directory.

    <div class="doc"><img class="doc1" src="./images/icon-document.svg" alt=""></div>
    <div class="doc"><img class="doc2" src="./images/icon-folder.svg" alt=""></div>
    <div class="doc"><img class="doc3" src="./images/icon-upload.svg" alt=""></div>

Hope you found this helpful!

0

@ravisingh8v

Posted

@Eileenpk Thank you for correction

0

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