DeepaNethesh / weather-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather App



Description

Create an app to display the weather of different cities

Technology used

1. HTML
2. Bootstrap
3. Javascript
4. Github


Steps:

1. Create a repository for the weather app.
2. Create the structure of the weather app using HTML.
3. In index.js, assign the weather apikey to a variable and use the api"https://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${appId}&units=metric" to get the data.
4. Get the weather using async-await function.
5. Assign emojis to a variable in index.js.
6. Declare a function to create the HTML.
7. Add eventListener to the button.
8. Call the function get the weather for the specific city.


Licence

MIT License

About

License:MIT License


Languages

Language:JavaScript 63.2%Language:HTML 36.8%