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 card using HTML CSS flexbox

@Szafter12

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@ivan-josef

Posted

in my opinion you made a great solution, but I think it's a good code practice to make a different file for your style and I like to keep things more organized like putting the variables (* and :root) on top of each other and do the same for the rest of the code, writing the css in the order you did the html. and a friend told me in my last challenge that it is better to use a div outside the tag you are going to use flexbox than to use the body tag

1

@Szafter12

Posted

@ivan-josef Normally I put the styles and scripts in another file but for such a small task I figured I would do everything in one plus the styling technique I use is BEM and normally write code in scss where it comes in handy. But thanks for the reply

1

@ivan-josef

Posted

@Szafter12 Ah, I see, I'll look into it. thank you

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