Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Responsive News homepage using Grid

Oubaid•180
@oubaidelmoudhik
A solution to the News homepage challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This project took me almost a week to complete, but that's only because I started wrong, and analyzed the page in the wrong way. After 3 days of coding, I stopped and started from scratch which wasn't the easiest thing to do to just throw away almost 400 lines of cluttered code, but it was the best decision because it gave me the flexibility of writing a cleaner code, and more simple code. This was also my biggest project to this point, and I am so proud of have finished it!

A question for you: -Was this the cleanest code I could've wrote? -And should I have made the "footer" area 3 divs and include them into the main grid or my way of doing it as a one big div with 3 inner divs the best way?

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Oubaid's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License