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 Landing Page with Grid

papa 340

@PapsPython

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


  1. To make the homepage responsive I used grid with span 2 repetitively on all children of the grid container. For example: #side-img-1{ grid-area:5/span 2; } #side-img-2{ grid-area:6/span 2; } #side-img-3{ grid-area:7/span 2;

In the spirit of dry, whats a more efficient approach ?

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