Skip to content

tobyj/feChallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

feChallenge

Brief

Melbourne weather is not awesome. build a page that is awesome that reports the current weather at user's location. The page should show these weather conditions for the current location with a toggle for celsius/farenheit:

 ┌───────────────────┐
 │ CURRENT WEATHER   │
 │ 22° C | CLOUDS    │
 │ KEW, AUSTRALIA    │
 │                   │
 │ HUMIDITY  73%     │
 │ WIND      6.2 M/S │
 │ SUNRISE   05:41   │
 │ SUNSET    20:06   │
 │                   │
 │ [c]|[f] (toggle)  │
 └───────────────────┘

Throw it in a Github Repo.

You can fetch the weather using a free API (details below, or use another if preferred). Get the current geo location using your preferred method (e.g. browser / ip lookup service). Fallbacks welcome.

As the API has a call limit the results should be locally cached (e.g. localstorage, cookie). When toggling c|f calculate the values instead of making another call.

Use Vue.js or simply pure JS... SCSS should be used for styling. The important thing is that the code is clean, consistent and crystal clear.

API Details

Feel free to use any weather API. Here are some possible choices:

OpenWeatherMap

Other options

About

Front End Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published