From 962c7866eae8513db6342196aaebcbda7163fd84 Mon Sep 17 00:00:00 2001 From: Kristyn Bryan Date: Sun, 12 Jun 2016 23:23:51 -0400 Subject: [PATCH] Create README.md --- .../morning_exercise/stopwatch/README.md | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 unit_02/w05d02/morning_exercise/stopwatch/README.md diff --git a/unit_02/w05d02/morning_exercise/stopwatch/README.md b/unit_02/w05d02/morning_exercise/stopwatch/README.md new file mode 100644 index 0000000..bb4f9e5 --- /dev/null +++ b/unit_02/w05d02/morning_exercise/stopwatch/README.md @@ -0,0 +1,38 @@ +![ga](http://mobbook.generalassemb.ly/ga_cog.png) + +# WDI-PANTHALASSA + +--- +Title: Morning Exercise - Stopwatch w05d02
+Type: Morning Exercise
+Duration: "0:45"
+Creator:
+ Original creators: WDI-Meeseeks, WDI-Archer, WDI-Funke
+ Adapted by: Thom Page & Kristyn Bryan
+ Course: WDIr Panthalassa
+Competencies: Javascript, HTML, CSS
+Prerequisites: Javascript, HTML, CSS
+ +--- +# Morning Exercise + +STOP! WATCH TIME! + +![stopwatch](http://www.featurepics.com/FI/Thumb300/20110915/Digital-Stopwatch-1998985.jpg) + +Lets write a browser stop watch app. Here are the user stories. + +1. The user should be able to see the current amount of time that has gone by at any given point. +2. The user should be able to start the stopwatch. +3. the user should be able to stop the stopwatch. +4. The user should be able to reset the stopwatch. + +Bonus: +The user should be able to [make and reset splits](http://news.runtowin.com/2007/05/08/what-is-the-difference-between-split-times-and-lap-times.html) that appear somewhere on the page. + +We have given you the starter file to use with a basic layout for the html so that you can focus on the Javascript. Before you start to code, organize your thoughts by asking yourself these questions: + +1. What information am I going to need to store. +2. What events will I need and how will I have them interact with the web page. +3. What kind of funtions will I need in order to change the data? +Hint: When you get to the "reset" portion of your stopwatch, try Javascript's `setInterval()` method.