Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Blog Preview Card

P
Margaux 120

@margaux-works

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

@denissejoyce

Posted

Hey, Margaux 👋 It could be from the gap property in your card container. Lmk if that helped!

Marked as helpful

0

P
Margaux 120

@margaux-works

Posted

Hey Denisse, you were right! Removing the gap did the work :) Thanks for spotting it!

0

@denissejoyce

Posted

@margaux-works no problem!

0
P
AnDev 240

@marynaKolikova

Posted

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 GitHub
Discord logo

Join 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