• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
dcm31

dcm31

Weather

Public
Like
Weather
Home
Code
4
backend
1
frontend
2
README.md
H
index.html
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
https://dcm31--cbd5aabe369511f0b68c9e149126039e.web.val.run
README.md

Simple Weather App

A simple weather application built on Val Town that allows users to check the current weather and forecast for any location.

Features

  • Search for weather by city name
  • Display current weather conditions
  • Show a 3-day forecast
  • Responsive design with Tailwind CSS

Project Structure

  • backend/index.ts - HTTP endpoint that fetches weather data from Open-Meteo API
  • frontend/index.html - Main HTML page with the user interface
  • frontend/app.js - Frontend JavaScript for handling user interactions

How to Use

  1. Enter a city name in the search box
  2. Click "Get Weather" or press Enter
  3. View the current weather and forecast

Technologies Used

  • TypeScript
  • Open-Meteo API (no API key required)
  • Tailwind CSS
  • Val Town platform
HTTP
  • index.ts
    dcm31--a1…9e.web.val.run
  • index.html
    dcm31--cb…9e.web.val.run
Code
backendfrontendREADME.md
H
index.html
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.