Skip to content

kernelsafe/weather-app-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository tries to implement the challenge below

Instructions

You must create a weather logging app that allows users to enter temperatures in order to calculate its median, average, highest and lowest points.

You must use

  • AngularJS or Angular 2+ to create the UI

User Stories

  • As a user, I want to add a temperature to my log
  • The input must only take numbers
  • You must display a validation error when invalid data is entered in the input
  • As a user, I want to delete a temperature from my log
  • As a user, I want to see the temperature median in my entire log
  • As a user, I want to see the average temperature of my entire log
  • As a user, I want to see the highest temperature in my log
  • As a user, I want to see the lowest temperature in my log

UI WireFrame

Temperature
------------------------------   -------------------
|                            |   | Add Temperature |
------------------------------   -------------------
* This field is required

--------------------------------------------------------------------------------

Average: 28.9 °c     Highest: 32.1 °c     Lowest: -3.6 °c     Median: 18.4 °c

--------------------------------------------------------------------------------

Temperature Log:

-------------------------------------------------------------
| Date           | Temperature              |               |
-------------------------------------------------------------
| Jan 21, 2018   | -14.9 °c                 | Delete        |
-------------------------------------------------------------
| Jan 21, 2018   | -14.9 °c                 | Delete        |
-------------------------------------------------------------
| Jan 21, 2018   | -14.9 °c                 | Delete        |
-------------------------------------------------------------
| Jan 21, 2018   | -14.9 °c                 | Delete        |
-------------------------------------------------------------
| Jan 21, 2018   | -14.9 °c                 | Delete        |
-------------------------------------------------------------

About

Angular Coding Challenge - weather-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published