Skip to content

AnserShafiq/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather-App

An app to check the weather of anywhere.

Learned New JavaScript Feature Fetch()

In this project i learned how we can use fetch in javaScript to get data from different Api's. First I added Eventlistener with button variable with the string 'click' and new function with body. When my button will get clicked so the eventlistener will take the program into function where it will use fetch command to fetch the data from the API i used. And in that API also sent the input of the user. Then used .then function to check the response of fetch if the response remained true then next .then function will create a data variable and will store required info the in that data variable to share on screen otherwise my program will go on .catch and will send alert.

Responsiveness

  1. Laptop Screen
  2. iPhone 6,7,8

Features Used

  1. Html
  2. CSS
  3. JavaScript

Tools

  1. Visual Studio Code
  2. GitHub
  3. Google Fonts

Link

https://weather-app-by-anser.netlify.app/

About

Weather Web App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published