@correlucas
Posted
πΎHello Youngmelis, congratulations for your new solution!
Your image is inserted in a different folder than you indicate in the html, note that you've used src/assets-img/ --> imgs
To fix the problem with the image displaying you've to indicate the correct image path/folder.Note that if you're using the folder locally the live server recognizes the image location, but with a live solution you need to indicate where the image is.
Remember, when the image is inside the repository folder use dot slash ./
and if is inside a subfolder use dot dot slash ../
If the image is the same folder of the html without folder just add normal path.
Here's the correct image import <img class="desktop-only" src=".../src/assets-img/image-product-desktop.jpg" alt="">
π I hope this helps you and happy coding!
Marked as helpful