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

blogpreviewcard

Maleyka 150

@maleyka13

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


blog preview card

Community feedback

@Blackpachamame

Posted

Greetings! you have done a great job 😎

  • To improve the semantics of your HTML, you can change your <div class="content"> to a <main class="content">
  • Apply max-width: 100% to your img so that it occupies the correct width within the container
  • Instead of using margin to center your content in the center of the screen, you can use the flexbox properties in the body (Remove the margin from your content class):
body {
    background-color: hsl(47, 88%, 63%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

Marked as helpful

0

Maleyka 150

@maleyka13

Posted

Hi @Blackpachamame, thank you for your comment. I will check this

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