Skip to content

Commit c47d429

Browse files
committed
done
1 parent 7c5b973 commit c47d429

File tree

4 files changed

+50
-0
lines changed

4 files changed

+50
-0
lines changed

My projects/Digital Clock/home.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
<link rel="stylesheet" href="styles.css">
8+
<title>Digital Clock</title>
9+
</head>
10+
<body>
11+
<header class="heading">
12+
<h1>Digital Clock</h1>
13+
</header>
14+
15+
<section>
16+
<div>
17+
<span id="hour">00</span>
18+
<span class="text">Hours</span>
19+
</div>
20+
<div>
21+
<span id="minutes">00</span>
22+
<span class="text">Minutes</span>
23+
</div>
24+
<div>
25+
<span id="seconds">00</span>
26+
<span class="text">Seconds</span>
27+
</div>
28+
<div>
29+
<span id="ampm">AM</span>
30+
31+
</div>
32+
33+
</section>
34+
<script src="index.js"></script>
35+
</body>
36+
</html>
Loading

My projects/Digital Clock/index.js

Whitespace-only changes.

My projects/Digital Clock/styles.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*{
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body {
8+
display: flex;
9+
flex-direction: column;
10+
align-items: center;
11+
height: 100vh;
12+
justify-content: center;
13+
background-image: url();
14+
}

0 commit comments

Comments
 (0)