@DavidMorgade
Posted
Hello Andres, welcome to the community and congrats on finishing the challenge!
Your component looks pretty good and responsive, you did a pretty good job with that.
You can use a little trick instead of adding both images as img
and using display: none
on screen size changes.
You can use two <source>
tags add both images (the mobile and desktop versions of the image) inside of them, then in the source tag, you can specify at what screen size the image has to be displayed, remember that this tags have to be wrapped by <picutre></picture>
tags!
Hope my feedback helped you!
Marked as helpful