Design comparison
Community feedback
- @MelvinAguilarPosted 11 months ago
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 helpful1@ZioSenkaiPosted 11 months ago@MelvinAguilar tks, I did not notice my src path was wrong at all :D
0 - Use "
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