Design comparison
Solution retrospective
I am proud of the fact that I managed to finish the project. Next time I would like to give it a different approach.
What challenges did you encounter, and how did you overcome them?The box-shadow was challenging since I did not remember how to do it.
What specific areas of your project would you like help with?I would like some help with the Flexbox. Although the result is fine, I think that is nowhere similar when it comes to margins and padding to the real solution.
Community feedback
- @JunbolPosted 6 months ago
HiRainiero! here are some recommendation for your project: PROS: Most of the features are there, it’s almost done.
CONS:
- HTML: Remember to use semantic HTML and good HTML structure. For example a basic structure could be:
- Main Issue: Alignment: The main issue is with the aligment of the main div container/wrapper. -Reason: You forgot to use dimensions: width and height to the .blog-post class and intead of this: margin: 40px 570px; use margin:0 auto; which will center the card horizontally. All you need to use is margin-top to push the card down. The other more optimal is to change the unsemantic div wrapper to <section> and give it a class with display: flex justify-content: center align-items: center that will center the card right at the center of that <section> but then you have to apply the same class properties to < section> to center it inside <main>
Flexbox:
[Flexbox] (https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/) Good look and Keep going!Cheers Junier
Marked as helpful0 - @JunbolPosted 6 months ago
HiRainiero! here are some recommendation for your project: PROS: Most of the features are there, it’s almost done.
CONS:
- HTML: Remember to use semantic HTML and good HTML structure. For example a basic structure could be:
- Main Issue: Alignment: The main issue is with the aligment of the main div container/wrapper. -Reason: You forgot to use dimensions: width and height to the .blog-post class and intead of this: margin: 40px 570px; use margin:0 auto; which will center the card horizontally. All you need to use is margin-top to push the card down. The other more optimal is to change the unsemantic div wrapper to <section> and give it a class with display: flex justify-content: center align-items: center that will center the card right at the center of that <section> but then you have to apply the same class properties to < section> to center it inside <main>
Flexbox:
[Flexbox] (https://www.joshwcomeau.com/css/interactive-guide-to-flexbox/) Good look and Keep going!Cheers Junier
Marked as helpful0@raiherradaPosted 6 months ago@Junbol thanks a lot! I have followed your advice and I'll be posting a new solution. Thanks!
0
Please log in to post a comment
Log in with GitHubJoin 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