Skip to content

Commit 6723371

Browse files
Update index.html
clear and elegant code
1 parent ec021c9 commit 6723371

File tree

1 file changed

+9
-24
lines changed

1 file changed

+9
-24
lines changed

Count-Down-To-New-Year/index.html

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
43
<head>
54
<meta charset="UTF-8">
65
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>countdown</title>
8-
<link rel="stylesheet" href="style.css">
6+
<link rel="stylesheet" href="style.css"
97
</head>
10-
118
<body>
12-
<h1>CountDown To New Year</h1>
13-
<div class="countdown-c">
14-
<div class="count days-c">
15-
<p class="big" id="days">0</p>
16-
<span>Days</span>
17-
</div>
18-
<div class="count hours-c">
19-
<p class="big" id="hours">0</p>
20-
<span>Hours</span>
21-
</div>
22-
<div class="count minutes-c">
23-
<p class="big" id="minutes">0</p>
24-
<span>Minutes</span>
25-
</div>
26-
<div class="count seconds-c">
27-
<p class="big" id="seconds">0</p>
28-
<span>Seconds</span>
9+
<div>
10+
<h1>Countdown to New Year</h1>
11+
<div>
12+
<span id="days">00</span> Days
13+
<span id="hours">00</span> Hours
14+
<span id="minutes">00</span> Minutes
15+
<span id="seconds">00</span> Seconds
2916
</div>
3017
</div>
31-
3218
<script src="script.js"></script>
3319
</body>
34-
35-
</html>
20+
</html>

0 commit comments

Comments
 (0)