This is a solution to the Space tourism website challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for each of the website's pages depending on their device's screen size
- See hover states for all interactive elements on the page
- View each page and be able to toggle between the tabs to see new information
- Solution URL: GitHub
- Live Site URL: GitHub Pages
- Semantic HTML5 markup
- CSS / SASS
- Flexbox
- CSS Grid
- Mobile-first workflow
- Responsive Web Design
- Javascript
- React - JS library
- React Hooks for state
- React Router for navigation
-
React Router to serve the different pages when clicked from the Navigation Bar.
-
Different ways to add hover functionality, especially NavLink and active class.
-
Using React Hooks to render different pages according to data.json file.
-
Using multiple classes on an element to set it as the default element.
- React Router Tutorial - This documentation explains how to implement React Router v6.
- React Hooks useState - This video sums up the useState functionality in React Hooks neatly, it was very easy for me to understand and start using right away.
- GitHub - William Lee
- Web Dev Simplified Youtube Channel - This channel helped me immensely while I was working on this project, a lot of the videos helped me when I got stuck with a particular function that I was trying to implement.