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 using HTML, CSS Flexbox and media queries.

@juancmdev

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?

I´m so proud to finish this new procject and see how my knowlege is going bigger day by day learning new things.

What challenges did you encounter, and how did you overcome them?

Using flexbox and media queries has beea a good challenge for me necause I have learned a lot.

What specific areas of your project would you like help with?

If you can give some feedback about my procject it will be so great.

Community feedback

Chirag 370

@chirag-bishnoi

Posted

Hello there, the card is good but I'm seeing two problems in the layout. The background shadow only appears when we hover over it even though it was part of the card so it was suppose to stay there without hover. Another thing that I noticed is that there is horizontal and vertical scrolling this is because the content is overflowing because you have given your main tag width: 1440px; and height: 960px; to fix this issue remove both width and height from the main tag. To fill the white space from underneath give your body minimum height of 100vh

body {
min-height:100vh;
background-color: #f4d04e;
display: flex;
flex-direction: column;
justify-content: center;
}

remove the flex from the main tag and give it to the body instead. And don't forget to change the flex direction!

and this will solve the issue :)

Marked as helpful

0

@juancmdev

Posted

@chirag-bishnoi thanks for your helpfull review, I´ve made the changes and my procject looks so good.

Thank you so much.

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