Blog Preview Card with responsive width using media query.
Design comparison
Solution retrospective
I am proud that by fiddling around on web, I made the use of media query to change the width of the container.
I have used margin value to maintain 24px gap between the card and screen edges. Is it correct way or something else can be used?
What challenges did you encounter, and how did you overcome them?I found myself stuck in adding responsiveness to the screen. I certainly believe it can be made better with proper guidance.
What specific areas of your project would you like help with?I need support in using the correct semantic elements and using grid or flex effectively.
Community feedback
- @jamesbarnettPosted 4 months ago
-
Semantic HTML Yes. Always good to include an h1 and nice use of article as well.
-
Accessibility Using pixels for font sizes breaks the users ability to zoom. I think this article explains it nicely: https://www.seeratawan.me/blog/why-you-should-move-from-px-to-rem-in-css/ Another nice addition for accessibility would be to utilize the HTML time tag: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
-
Layout/Screen Sizes Looks great! Everything is proportional and reasonable sized.
-
Code Clean markup and CSS. Great job!
-
Differ If memory serves on this challenge, isn't there supposed to be a hover effect that changes the dropshadow?
Marked as helpful0@Usri96Posted 4 months ago@jamesbarnett Thank you for reviewing the solution. I will definitely read the articles provided and include the suggestions.
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