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 Frontpage with GraphQL and React

Jose Gomez 100

@josegomez832

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


Some of the difficulties I encountered was adding the overlay class to the body or creating some element to take up the entire screen. The menu exists in the Header.js component but wasn't sure exactly if I can use native JS to target the body element.

Also where I struggled since I used Contentful as the CMS, if was a bit of a challenge trying to sort the posts to get the posts I eventually wanted per component (Featured, New, Blog Feed).

Also, not sure what is the best way to structure the file system for the GraphQL query and just overall the structure of the app. Any feedback there would be appreciated.

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