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

Responsive news homepage using CSS Grid and Flexbox

omni23 50

@omni23

Desktop design screenshot for the News homepage coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


I mostly had trouble with aligning the items in my main tag using Grid. The image for the main story would not fill the whole grid cell. I managed to solve this by making that particular section a flex container and setting the images flex growth to 1. Not really sure if that was the best way to go about it, so I'm really looking for feedback on best practices or things I'm doing wrong that could be improved. Thanks so much :)

Community feedback

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