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 with CSS grid

Tenzin Choedaβ€’ 210

@tenze21

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


I have user a hover effect on the profile picture so that viewers can view the picture clearly. Is it something necessary? Do mention your suggestions on it😊.

Community feedback

Marcos Travagliniβ€’ 4,920

@Blackpachamame

Posted

Good job!

Here are some comments that may help you:

  • Use semantic tags such as main, footer, figure, etc, this helps the accessibility and SEO of the site
  • The <div class="container"> should be <main class="container">
  • The <div class="attribution"> should be <footer class="attribution">. Also, you should put it outside the main and remove the position absolute properties, since they will not be necessary.
  • Instead of using justify-content: center and align-items: center, you can replace them with place-content: center
  • You do not need to define the grid-template-columns and grid-template-row in the body
  • Apply display: block to the image to remove that annoying white space

Marked as helpful

1

Tenzin Choedaβ€’ 210

@tenze21

Posted

wow, thanks a lot @Blackpachamame for your suggestions, they are really helpful.

1

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