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

loopstudios-landing-page-main

@yetkinkrsngr

Desktop design screenshot for the Loopstudios landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


some how netlifty doesnt work perfeclty but on my local working well can someone help me please

Community feedback

Rina 100

@dodrin

Posted

Hi, the issue of the images not rendering on the build is because of the file path. When you store images in the public directory, you can access the images using their relative paths. for example,

public/
├── index.html
├── logo.png
└── ...

In your React components, <img src="/logo.png" alt="Logo" /> Here is the link for the Vite documentation. I hope this helps!

https://vitejs.dev/guide/assets.html#importing-asset-as-url

Marked as helpful

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