@MelvinAguilar
Posted
Hello there π. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
- Use "
./
" before the file path of the image to display it.
βββ ββββ ββββ ββββ ββββ ββββ ββ
Do: <img id="product-image" src="./images/image-product-desktop.jpg" alt="">
.
βββ ββββ ββββ ββββ ββββ ββββ ββ Don't: <img id="product-image" src="/images/image-product-desktop.jpg" alt="">
.
- You could use the
<del>
tag to indicate the price that was before the discount.
- The
alt
attribute is used to provide a text description of the image which is useful for screen reader users, assistive technology users, and search engine optimization. Add thealt
attribute to the<img>
tag of the product.
I hope you find it useful! π Above all, the solution you submitted is great!
Happy coding!
Marked as helpful
@ZioSenkai
Posted
@MelvinAguilar tks, I did not notice my src path was wrong at all :D