Skip to content

thezier/react-weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Weather App

Overview

This weather widget displays the weather in Celcius, Fahrenheit, or Kelvin based on your browser's current location.

Screenshot

Technologies Used

React HTML5 CSS3 JavaScript

GitHub top language

Approach Taken

Used JavaScript to get the location:

getLocation code snippet

Get the data from weather API:

getLocation code snippet

Then after styling up the application as desired, adding the ability to change from Celcius to Fahrenheit, or Kelvin. This was completed by using the switch statement along with a few convertion functions to display the correct icons and temperature units.

getLocation code snippet

Screenshot

Screenshot

About

A weather app built using React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published