-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript.js
34 lines (33 loc) · 960 Bytes
/
script.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
setTimeout(function () {
document.getElementById('display').innerHTML = 10;
setTimeout(function () {
document.getElementById('display').innerHTML = 9;
setTimeout(function () {
document.getElementById('display').innerHTML = 8;
setTimeout(function () {
document.getElementById('display').innerHTML = 7;
setTimeout(function () {
document.getElementById('display').innerHTML = 6;
setTimeout(function () {
document.getElementById('display').innerHTML = 5;
setTimeout(function () {
document.getElementById('display').innerHTML = 4;
setTimeout(function () {
document.getElementById('display').innerHTML = 3;
setTimeout(function () {
document.getElementById('display').innerHTML = 2;
setTimeout(function () {
document.getElementById('display').innerHTML = 1;
setTimeout(function () {
document.getElementById('display').innerHTML ='Happy Independence Day!';
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);
}, 1000);