@developer-ruben
Posted
Hi!
Welcome to the community! Here are my tips:
- Why did you use the <main> tag as the container for your component? This way you cannot implement it in other pages (since you can only have one main tag on a page). Try 'section' or 'article' instead, since this is an independent component
- Try keeping HTML and CSS code separate, even though it's a small component
- Search for the BEM methodology to better organise your code
- It's good to add the width and height in the HTML to prevent the page from scaling while loading the image