Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.4 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.4 KB

Simple Weather

This is a basic weather app that allows users to search for a city and get the current weather conditions. It was created as a learning project to practice JavaScript, HTML, CSS, and API integration.

weather_js

Features

  • Get weather information for any city.
  • Displays temperature, conditions, and a weather icon.
  • Simple and clean user interface.
  • Dark mode for comfortable viewing.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • OpenWeatherMap API

How to Run

  1. Clone the repository: git clone https://github.com/your-username/simple-weather-app.git

  2. Obtain an API key from OpenWeatherMap.

  3. Create a .env file in the project's root directory and add your API key:

    API_KEY=your_actual_api_key_here
    
  4. Replace 'API_KEY_HERE' with your API variable

  5. Open index.html in your web browser.

Project Structure

  • index.html: Main HTML file for the app's structure.
  • style.css: CSS file for styling the app.
  • script.js: JavaScript file for fetching and displaying weather data.
  • .env: (Not included in the repository) File to store your API key.
  • README.md: This file.

License

This project is licensed under the MIT License - see the LICENSE   file for details.