@F4YY
Posted
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 the image-product-mobile.jpg
.
Hope that could be Helpful. Keep happy coding...
Marked as helpful