space-tourisme-svelte Svelte Themes

Space Tourisme Svelte

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

This is the screenshot a my home page.

My process

  • Explore Figma file in scrimba website "How to build space tourism app" Scrimba
  • Choose a SPA framework => SVELTE (because I wanted to learn how it's work)
  • Create components: Navbar in first and after all other

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • Svelte - JS library

What I learned

I learned that Svelte (JS framework) it's not very difficult to learn. I manage component with "svelte:component" method in ".Svelte" files.

To see how you can add code snippets, see below:

<svelte:component
        this={selected.component}
        on:navigate={handleNavigation}
    />
    $: selected = navOptions[0];

Continuous deployment

  • Netlify - Netlify is a powerful JS based Host to deploy your site simply with connecting your "main" branch of your repository with it. All commit in "main" branch will create new version of your live website.

Useful resources

Author

Acknowledgments

I thanks to scrimba for very useful course and solution for this website.

Top categories

Loading Svelte Themes