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

Semantic HTML5 markup, CSS custom properties, flexbox

Charles 80

@Ghost-Writer-2

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 was able to learn from the mistakes I made in my previous project and I was able to complete this project a little faster

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

I'm still trying to learn how to create responsive layouts

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

I'd like to know some best practices from more experienced front-end devs and better ways to attempt the challenge.

Community feedback

P

@Godskitchen

Posted

hello! I think that you can set width: 100% to html and body tags to align card on center. Remove unnecessary margins, and reset it in first selector:

  • { box-sizing: border-box; margin: 0; padding: 0; }

It is standard feature to make pixel-perfect layout.

Marked as helpful

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