svelte-news-homepage Svelte Themes

Svelte News Homepage

a web3 news homepage built in svelte

Frontend Mentor - News homepage solution

This is a solution to the News homepage 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 interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page

Screenshot

My process

Built with

What I learned

  • I learnt how to approach UI development using the Mobile-First approach.

  • I learnt how to setup SASS on Sveltekit. In addition; I refreshed my knowledge on mixins and variables.

  • I learnt how to create a custom responsive navigation bar.

Continued development

  • I want to focus on creating more delightful UIs. Adding microinteractions to elements of the UI.

  • I want to focus on creating a better responsive navigation bar that fits seamlessly with the entire UI. In this project, the navigation bar pushes elements downwards which definitely needs some improvement.

Useful resources

  • Svelte Tutorial - This helped me to understand:

    • Sveltekit setup
    • Use of DOM events in Svelte
    • Tyling in Svelte
    • Nested components in Svelte
  • Sveltekit Docs - This helped me to understand:

    • Sveltekit setup
    • The use of layouts in Sveltekit
    • The project structure of Sveltekit
  • Sass Docs - This helped me to understand:

    • The Sass Language and Syntax
  • Net Ninja Youtube Channel - This helped me to understand:

    • How to structure my custom components and code.
  • Svelte Add - This helped me to easily setup Sass for Sveltekit

Author

Acknowledgments

Hats off to the Svelte Africa team. I drew inspiration from the official Svelte Africa website for conventions in naming and using components

Top categories

Loading Svelte Themes