DEV Community

Cover image for Weather app built with Svelte on Vite
Syed Ali Mansoor
Syed Ali Mansoor

Posted on

Weather app built with Svelte on Vite

Welcome! This web app is designed to display weather data (current and forecast) based on the user's location.

Links

Live site
Github repo

Features

  • Display current and forecast weather data for the given location
  • Retrieve the user's location automatically
  • Search for a different location by city name
  • Switch the temperature unit between Celsius and Fahrenheit
  • Toggle forecast weather data between hourly or daily forecasts
  • Responsive layout
  • Loading skeleton

Screenshots

the app's desktop layout
the app's mobile layout

Searchbox

the app's searchbox

Loading state

the app's loading state

Tech stack

  • Svelte, bundled with Vite
  • Typescript
  • Sass for styling
  • Axios to make requests
  • Notion + Whimsical for planning

Please do check the app out and leave your reviews below!

Acknowledgements

Top comments (0)