/Weather-app

Primary LanguageJavaScript

Weather App

Overview

The Weather App is a simple web application that allows users to enter a city name and retrieve the current weather conditions as well as a forecast for the next 24 hours. The app fetches data from the OpenWeatherMap API and displays it in a user-friendly format, including temperature, weather description, and relevant weather icons. The app is styled using Tailwind CSS.

Technologies Used:

  • HTML: For structuring the web page.
  • JavaScript: For fetching data from the API and updating the DOM.
  • Tailwind CSS: For styling the app.

Setup Instructions

Clone the repository:

git clone https://github.com/yourusername/weather-app.git

Navigate to the project directory:

cd weather-app

File Structure

index.html: The main HTML file containing the structure of the app.

output.css: The Tailwind CSS file for styling the app.

script.js: The JavaScript file containing the logic for fetching and displaying weather data.