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

active preview component

Evan 180

@eva003n

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Adriano 36,150

@AdrianoEscarabote

Posted

Hey Evan, how’s it going? I was really impressed with your project’s result, though I have some advice that could be helpful:

I noticed that your content is not centralized. To solve this problem, we can do the following:

body {
    min-height: 100vh;
    font-size: var(--fz-sm);
    background-color: hsl(var(--Grayish-Blue) / 0.4);
    margin: 4rem 0;
    padding-block: 0;
    display: grid;
    align-items: center;
    place-content: center;
    font-family: "Manrope", sans-serif;
}

Everything else looks great.

Hope this helps! 👍

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