Design comparison
Solution retrospective
In fact, I find some problems when I style the background image of the product. The size of the image is kind of weird. Therefore, my responsive design may not be good at this moment.
If you can provide some advice on my responsive design and styling background image, I would be appreciated it.
Community feedback
- @PipouwPieuwPosted over 1 year ago
Hello and well done completing this challenge!
This image is not purely decorative and is important to the page content, therefore it shouldn't be displayed as a background. I would use an
<img>
here, or even better a<picture>
.This may even fix your sizing issues. :)
Also you put a
<h2>
right before the<h1>
which is semantically incorrect. You could wrap the wordPerfume
inside a<p>
or maybe a<span>
instead.Keep going, happy coding!
Marked as helpful0
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