This is a solution to the Space tourism website challenge on Frontend Mentor.
- Solution URL: GitHub repo
- Live Site URL: solution Demo
- Using useState to control the navbar menu and products index.
- Using
window.innerWidth
gets the inner width of the window. - Using react-router-dom to control the current page.
- Challenge was provided by Frontend Mentor