Skip to content

Jayasree7917/Weather-Website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌦 Weather Website

A simple weather web app that fetches real-time weather data using the OpenWeatherMap API.
The app allows users to search for a city and displays temperature, humidity, wind speed, weather description, and background image related to the city.


πŸš€ Features

  • Search weather by city name
  • Displays:
    • 🌑 Temperature (Β°C)
    • 🌫 Weather description
    • πŸ’§ Humidity
    • 🌬 Wind speed
  • Dynamic background image from Unsplash API
  • Responsive UI with a search bar

πŸ› οΈ Tech Stack


πŸ“‚ Project Structure

β”œβ”€β”€ index.html # Main HTML structure β”œβ”€β”€ style.css # Stylesheet β”œβ”€β”€ app.js # JavaScript functionality └── README.md # Project documentation

yaml Copy code


πŸ”‘ Setup & Usage

1. Clone the repository

git clone https://github.com/your-username/weather-website.git
cd weather-website
  1. Get your OpenWeatherMap API key Sign up at OpenWeatherMap

Copy your API key

  1. Add your API key in app.js js
let weather = {
  apiKey: "YOUR_API_KEY_HERE",
  ...
};
  1. Run the project Simply open index.html in your browser.

πŸ“Έ Preview

⚑ Example Queries London

New York

Tokyo

Delhi

🐞 Troubleshooting If you see "No weather found.", check:

The spelling of the city name

Your API key validity

Internet connection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors