Giter Club home page Giter Club logo

weather-app's Introduction

Weather App

This is a simple weather app that displays current weather information using the OpenWeatherMap API. It is built with Tailwind CSS and Vanilla JavaScript.

Features

  • Displays current weather information including temperature, humidity, and wind speed.
  • Retrieves weather data from the OpenWeatherMap API.
  • Dynamically updates the UI based on the user's location.

Installation

  1. Clone the repository:

    https://github.com/zareenf01/weather-app.git
    

Change into the project directory:

-cd weather-app

-Open the index.html file in your preferred web browser.

Usage

  1. The app will display the current weather information for your location.
  2. You can also search for weather information for a specific location by entering the city name in the search bar and pressing Enter.

Configuration

To use your own OpenWeatherMap API key, follow these steps:

  1. Go to the OpenWeatherMap website and sign up for an account.

  2. Once you have an account, go to your API keys page and generate a new API key.

  3. Open the script.js file in the project and replace the API_KEY constant with your generated API key:

weather-app's People

Contributors

zareenf01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.