Skip to content

Commit 958763a

Browse files
committed
complete timer
1 parent 2bdf9b6 commit 958763a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

12_Numbers_Dates_Timers_Bankist/script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ console.log('Waiting...');
479479
if (ingredients.includes('spinach')) clearTimeout(pizzaTimer);
480480

481481
// setInterval
482-
setInterval(function () {
483-
const now = new Date();
484-
console.log(now);
485-
}, 1000);
482+
// setInterval(function () {
483+
// const now = new Date();
484+
// console.log(now);
485+
// }, 1000);

12_Numbers_Dates_Timers_Bankist/timer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
position: relative;
2020
font-family: 'Inter', sans-serif;
2121
letter-spacing: -1px;
22-
background-color: rgb(5, 27, 27);
22+
background-color: #051b1b;
2323
color: cyan;
2424
padding: 1rem;
2525
height: 100vh;
@@ -37,7 +37,7 @@
3737
}
3838

3939
#secs {
40-
color: greenyellow;
40+
color: #adff2f;
4141
}
4242
</style>
4343
</head>

0 commit comments

Comments
 (0)