GithubHelp home page GithubHelp logo

yashk9293 / weather_webapp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 4.62 MB

Simple weather application made using HTML, CSS & JavaScript, you can get the weather details of a particular city by entering the city name. Details like temperature in celsius, humidity, windspeed, current time, day and date of the city is provided.

Home Page: https://yashk9293.github.io/weather_webApp/

License: MIT License

HTML 21.09% JavaScript 54.44% CSS 24.47%
css html jacascript weather-app-js weather-web-application

weather_webapp's Introduction

GitHub repo size GitHub stars GitHub forks Twitter Follow

"Simple Weather Application using HTML, CSS & JavaScript"

In this weather app, you can get the weather details of a particular city by entering the city name. Details like temperature in celsius, humidity, windspeed, current time, day and date of the city is provided. Weather emoji icon depending upon the weather condition is shown for better visualisation effect.

Live Demo : https://yashk9293.github.io/weather_webApp/

Show some ❤️ and ⭐ the repo if you like the design.

WeatherApp

Author

👤 Yash Kumar

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Git must be installed on your operating system.

Run Locally

To run weather application locally, run this command on your git bash:

Linux and macOS:

sudo git clone https://github.com/yashk9293/weather_webApp.git

Windows:

git clone https://github.com/yashk9293/weather_webApp.git

This project is about building a web application to show a weather forecast using weather API, the api providers are

Usage

Paste your API key to the appid and key parameter of the given URLs. These URLs are in line.no 10 & 8 of index.js and setdates.js respectively. You can get both API key from above mentioned links for free. Here 1st API is used for all the details of weather of city and 2nd API is used for the current time, day and date of the city.

api = "https://api.openweathermap.org/data/2.5/weather?units=metric&q=${city}&appid=<your_api_key>";
api = "https://api.weatherapi.com/v1/current.json?q=${city}&key=<your_api_key>";

LICENSE

MIT License

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.