Skip to content

A simple and clean weather application built using HTML, CSS, and JavaScript. It fetches and displays the current temperature of a city using a public weather API (like OpenWeatherMap). The app uses the Fetch API to retrieve real-time data and is ideal for beginners learning API integration in web development.

Notifications You must be signed in to change notification settings

harshshrivastava2005/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Weather App – Temperature Display (HTML, CSS, JavaScript)

πŸ“Œ Description

This is a simple weather application built using HTML, CSS, and JavaScript. It fetches live temperature data for a user-entered city using the OpenWeatherMap API. The app demonstrates how to use the Fetch API, handle JSON data, and dynamically update the DOM.

βš™οΈ Features

Get current temperature for any city

Live data fetched from a public weather API

Clean and responsive UI

Built with vanilla JS (no frameworks)

🧠 Technologies Used

HTML

CSS

JavaScript

OpenWeatherMap API

πŸš€ How to Run

  1. Clone or download this repository:

git clone https://github.com/harshshrivastava2005/Weather-App-JavaScript.git

  1. Open index.html in your browser

  2. Enter any city name and press enter / click the search button

πŸ“ Folder Structure

Weather-App/ β”œβ”€β”€ index.html β”œβ”€β”€ style.css β”œβ”€β”€ script.js └── README.md


πŸ‘€ Author

Harsh Shrivastava GitHub Profile


Would you like a PDF version of this README or want help deploying this app online (Netlify or GitHub Pages)?

Let me know β€” I’ll guide you step-by-step!

About

A simple and clean weather application built using HTML, CSS, and JavaScript. It fetches and displays the current temperature of a city using a public weather API (like OpenWeatherMap). The app uses the Fetch API to retrieve real-time data and is ideal for beginners learning API integration in web development.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published