
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
idk
What challenges did you encounter, and how did you overcome them?media query to hide image on desktop size for when it has to change to mobile
What specific areas of your project would you like help with?none
Community feedback
- P@KonradJamPosted 5 days ago
Hello @FlightReacts11!
Looks good! Some advice for you:
- In this situation, don't use media query to hide/show the image. Even if you hide the image, it'll still load and consume extra bandwidth. Use the
srcset
andsizes
attributes of<img>
. <h1>-<h6>
are for headings, like in this challenge name of perfume. For other text, use<p>
or<span>
.- Read about HTML5 Semantic on my LinkedIn
- Start using Relative Units
0 - In this situation, don't use media query to hide/show the image. Even if you hide the image, it'll still load and consume extra bandwidth. Use the
- @TradesmanBOBPosted 5 days ago
Looks pretty darn close, only slight differences is very slight sizing difference for section size and the spacing on the right hand div.
0
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