Design comparison
Solution retrospective
coding the blog preview card in mobile first
What specific areas of your project would you like help with?There is an unwanted marge between the .illustration image and the .card-container that I could not manage to understand where it comes from and how to get rid of it.
Note that I have used CSS reset (normalize.css).
According to the design, there should only be 24px between both elements, but right now there are 24px (margin set-up on class .content) + an additional 10px (unsure where they come from).
Any idea why there is this extra space?
Community feedback
- @denissejoycePosted 4 months ago
Hey, Margaux 👋 It could be from the gap property in your card container. Lmk if that helped!
Marked as helpful0@margaux-worksPosted 4 months agoHey Denisse, you were right! Removing the gap did the work :) Thanks for spotting it!
0 - @marynaKolikovaPosted 4 months ago
Hello! You should stick to semantics. Even in this project use such tags as "header, section, article and footer. It seems to me that project is desktop first. Perhaps because of this, you do not have the same size.
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