Design comparison
Solution retrospective
Any feedback is welcomed! :-)
Community feedback
- @F4YYPosted over 1 year ago
Hi @peipeix2,
Congratulation for successfully completing the challenge, nicely done...
However, when on mobile screen view the image's not showing. In your code, the src attribute for the mobile screen size is specified as
src="../images/image-product-mobile.jpg"
. The use of the..
in the path indicates that the image file is located in a directory one level above the current directory.Try using
src="./images/image-product-mobile.jpg"
is the way to specify the relative path to the image file when it is located in the images folder directory within the same directory as the HTML file. By using this path, the browser will display theimage-product-mobile.jpg
.Hope that could be Helpful. Keep happy coding...
Marked as helpful0@peipeix2Posted over 1 year agoHi Riki@F4YY,
Thank you for pointing out! I've missed that completely and will definitely look into it.
0
Please log in to post a comment
Log in with GitHubJoin 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