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

@haroon-raja

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


Any Feedback on how I can improve my code are welcome

Community feedback

Account Deleted

Hi; to avoid using to much margins, you can put all the contents inside the same container with a defined width in percentage to make it responsive, and to center it you can put it inside another container with display: flex; justify-content: center so you avoid adding margin to every section individually. Let me know if you haver more questions.

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