@DavidMorgade
Posted
Hello Margarida, welcome to the community and congrats on completing your first FrontEndMentor challenge!
If you don't mind I would like to give you a little advice for this challenge.
I saw in your code that you commented out the image in your html, and added it on your CSS files, instead of using it as a background image, you can use the <picture></picture>
tags with two <source>
tags (instead of img
tags), and use both images, the desktop and the mobile version, and render them conditionally depending on the size of the screen. This method is perfect for this challenge!
You can learn how to use the <picture>
tag here.
Hope my feedback helps you!, if you have any question, don't hesitate to ask.
Marked as helpful