Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

A simple weather application that fetches real-time weather data using the OpenWeatherMap API.

Features

  • Search weather by city name
  • Display current temperature in Celsius
  • Show weather description
  • Error handling for invalid cities

Setup

  1. Clone this repository
git clone <your-repo-url>
  1. Get a free API key from OpenWeatherMap

  2. Add your API key to the JavaScript file:

const API_KEY = "YOUR_API_KEY_HERE";
  1. Open index.html in your browser

Usage

  1. Enter a city name in the input field
  2. Click "Get Weather" button
  3. View the current weather information

Technologies Used

  • HTML
  • CSS
  • JavaScript (Vanilla)
  • OpenWeatherMap API

License

MIT License

About

A JavaScript-based weather application showcasing API consumption, error handling, and dynamic DOM rendering. Built with a focus on clean UI, responsiveness, and modern JS practices.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages