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 Challange using HTML and CSS

marcobaassā€¢ 70

@marcobaass

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?

So i'm kinda proud I managed without looking in documnets or asking for help to get the first steps done like centering thwe card on the viewport and aligning the elements in the card and start styling them.

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

I had a little trouble with elements stretching like the yellow background on the tag and the avatar piture of the author. I had to ask for help, but learned that using Flexbox was the issue. I had to use alignself to prevent that.

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

I would love to see a review of my html as well, because it might be not the best practice way in naming elements. Also the illustration on the top of the card should be looking diffrent in mobile. It basically should not shrink in height like in my case and instead overflow in the width or be cut of at the sides. I couldn't figure that out. Any help and feedback is appreciated. Thank you!

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello @marcobaass!

Your solution looks excelent!

I have just one suggestion:

šŸ“Œ To improve semantic clarity, stick to one <h1> per page for the main title.

It's more than just text size ā€” it's about structuring your content effectively:

  • <h1> to <h6> are used to define HTML headings, with <h1> being the most significant.
  • And maintain the titles hierarchy with <h1>, <h2>, <h3>, and so on.

While these adjustments might not alter the visual appearance much, they significantly enhance semantic clarity, SEO optimization, and accessibility.

Hope this suggestion proves helpful! Keep up the great work!

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