Skip to content

TheShonuff/space-facts

Repository files navigation

Frontend Mentor - Planets fact site solution

This is a solution to the Planets fact site challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • View each planet page and toggle between "Overview", "Internal Structure", and "Surface Geology"

Screenshot

Links

My process

Built with

What I learned

This was a great excerise to learn Svelte. I've been experimenting with some different frameworks latelt and Svelte was really enjoyable to learn. I didn't really have any issues when creating the solution to this challenge. The main hurdle was getting the planets to display different sizes based on the viewing device. I had to use reactivity and set the style tag appropriately. Working with Stores was a breath of fresh air compared to how React handles state.

Continued development

I'm going to continue to develope with Svelte in the future. There was recently a major update and I'll need to familiarize myself with some of the latest changes. I've been very happy with Svelte and will use this as my go to framework of choice.

Author