Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

mobile-first approach | Grid Layout | React-router

react, react-router
Zet Mosoma•940
@zetmosoma10
A solution to the Planets fact site challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


The website gave me tough time, i use different approach in development. Each page route has its own css.module file, first time using this approach. some of the things i could not do found them tough,

  • like border-top on active navlinks in top navigation.
  • positioning small surface image at the bottom center of the planet image ,
  • mobile menu navigation can scroll from behind. and many more

im still new in react-router, any feedback will be appreciated.

tools i used -Grid (grid-template-area) for the hero layout -flex for navbar -NavLink for active navigation Outlet BEM BrowserRouter , Routes, Route

Any Feedback will be appreciated.

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 Zet Mosoma'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