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

kannela 20

@kannela

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?

its a good practice, with frameworks maybe its more easy and fast

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

organize items of the card is hard for me, but for the first time I think I do a good work but not perfect.

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

with the margin, borders and paddings.

Community feedback

Adriano 37,150

@AdrianoEscarabote

Posted

Hi kannela, hope you're doing well! I loved how your project turned out, but I’ve got a few suggestions that could be useful:

I noticed that the card is not centered. To resolve this, we can do the following:

body {
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: hsl(47, 88%, 63%);
    display: flex;
}

and

.card {
    text-align: center;
    border: 1px solid black;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 10px 10px 0rem black;
    border-color: black;
    overflow: hidden;
    height: 485px;
    width: 350px;
    /* margin-top: 7rem; */
    /* margin-bottom: 7rem; */
    padding: 20px;
}

The rest is fantastic.

Hopefully, you'll find it helpful. 👍

Marked as helpful

0

@Chaitan-ya

Posted

code is well structured

0

kannela 20

@kannela

Posted

@Chaitan-ya thanks for the feedback!

0

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