Design comparison
Solution retrospective
I just started working with media queries and I am still struggling with the breakpoint from mobile to desktop layout. Should I add an in-between breakpoint as well for medium sized screens as well?
Community feedback
- @adebisiabdussamadPosted almost 2 years ago
Cheers Stephanie π₯ on completing this challenge.. .
An img element must have an alt attribute. This enables physical challenge to understand the image better.
-This is your code:
<img src=/images/icon-cart.svg>
-This is how it should be:
<img src=/images/icon-cart.svg>
the second one with the alt attritube. to know more about the alt attribute you can click this link Img elementAnd also for the media queries click this
You need to apply the alt for all of your images...your code is really amazing...
hope you find this helpful...
Happy coding!!!ππ
1 - @manishdevelopsPosted almost 2 years ago
hi Stephanie, the application of Media Queries will depend on your content, Whenever you feel there is need to add Media Query you can add. But you should design mobile first and after that you can use media queries as required. generally I use maximum 2 break points. max(), min(), clamp(), calc() these are the functions which can minimize the Media Query break points So you should try them.
1
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