Skip to content

Kwill3/sbasex

Repository files navigation

Frontend Mentor - Space tourism website solution

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.

Table of contents

Overview

The challenge

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

Screenshot

Links

My process

Built with

  • 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

What I learned

  • 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.

Useful resources

  • 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.

Author

Acknowledgments

  • 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.

About

space tourism website created using react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published