Weather
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
https://dcm31--cbd5aabe369511f0b68c9e149126039e.web.val.run
A simple weather application built on Val Town that allows users to check the current weather and forecast for any location.
- Search for weather by city name
- Display current weather conditions
- Show a 3-day forecast
- Responsive design with Tailwind CSS
backend/index.ts
- HTTP endpoint that fetches weather data from Open-Meteo APIfrontend/index.html
- Main HTML page with the user interfacefrontend/app.js
- Frontend JavaScript for handling user interactions
- Enter a city name in the search box
- Click "Get Weather" or press Enter
- View the current weather and forecast
- TypeScript
- Open-Meteo API (no API key required)
- Tailwind CSS
- Val Town platform