Design comparison
Solution retrospective
Nice to complete this challenge but difficult for me to make it responsive
Community feedback
- @Hanka8Posted over 2 years ago
Hi Osama, nice job!
When you use "%" on width, the card will shrink on smaller screens. Instead, you can use "rem" - then the cards width will remain the same even on smaller screens, so you wont need any special media queries for responsiveness.
Other suggestions:
• use "rem" istead of "px" for "font-size", so the users can change it in their browsers - its considered a better habit for accesibility;
• its better to use semantic elements instead of non-semantic, so you should use <main> instead of <div>;
• headings should start at <h1> level, also the document should contain at least one level-one heading, so you should use <h1> instead of <h2>;
Keep up the good work! ☺
Marked as helpful1@Osama472Posted over 2 years ago@Hanka8 Thank you so much for the suggestion it will help me a lot and also thank you for your feedback. :)
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