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.
Visit https://sw-space-tourism.netlify.app/
- Open a terminal.
- Clone the repository with
git clone https://github.com/TeenageMutantCoder/space-tourism.git
- Change into the repository directory with
cd space-tourism
- Install dependencies with
npm install
Note: Must have Node installed - Run the development server with
npm start
or the production server withnpm run build && npm run serve
- Visit the website at 127.0.0.1:8000 (development) or 127.0.0.1:9000 (production)
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
- Live Site URL: https://sw-space-tourism.netlify.app/
- Semantic HTML5 markup
- Flexbox
- Mobile-first workflow
- TypeScript
- React - JS library
- Gatsby.js - React framework
- Styled Components - For styles
While building this website from the Figma design, I learned many things. This is the second project that I have built from someone else's design, and I
I learned:
- How to use Styled Components, a tool I had never used before
- How to create a TypeScript declaration file for imported image assets
- About the partiallyActive prop that allows Gatsby Links to be active when the user is inside a nested route
In the future, I would like to write automated tests for my code. I will always probably do some manual QA, but understanding how to write good tests is essential to being a good developer, especially if someone wants to work on a large or impactful project.
- StackOverflow - This stack overflow answer helped me fix the TypeScript errors that came up when I tried to import an svg, png, or jpg file.
- MDN Web Docs - This website is essential for a web developer. It contains all of the necessary information regarding HTML, CSS, and JavaScript. I used it very often.
- Website - Stevon Wright
- LinkedIn - Stevon Wright