Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ h1 {
}

button {
background: #4479BA;
background: #ff96ca;
color: #FFF;
font-family: Josefin Slab;
font-size: 50px;
Expand All @@ -27,4 +27,3 @@ button {
button:hover{
background: #356094;
}

35 changes: 35 additions & 0 deletions timers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,39 @@
//Javascript selectors for timer buttons

let reset = document.getElementById('Reset');
let start = document.getElementById('Start');
let pause = document.getElementById('pause');

// let reset = $("reset");
// let start = $("start");
// let pause = $("pause");

// function Timer(reset,start,pause) {
// this.reset = "reset";
// this.start = "start";
// this.pause = "pause";
// }

//Click handlers for each timer button
$("#reset").click(function() {
alert( "#" );
});

$( "#start" ).click(function() {
alert( "#" );
});

$( "#pause" ).click(function() {
alert( "#" );
});

//Instantiate 'seconds' and 'timerId' variables
let seconds = 0;
let timerId;

//updateTime() function incrementing 'seconds' counter and inserts
//value into the <h1> element with 'id="timer"'



}