@buneeIsSlo
Posted
Hi! Horv-Kitty, Congratulations on completing your first challenge! Your solution looks clean and responds quite well!
I noticed that you're switching the images with JavaScript, which does get the job done. However, a more appropriate way to do this would be to use the <picture/>
tag. You can learn about it here.
I would also add : focus
styles to the "Add to Cart" button to make it more accessible.
Hope this helps :)
Marked as helpful
@Horv-Kitty
Posted
@buneeIsSlo Hi bunee, I changed the code and this is a lot easier and works very well! Thank you for the advice and for taking the time to look through it! :)