File tree Expand file tree Collapse file tree 4 files changed +50
-0
lines changed
My projects/Digital Clock Expand file tree Collapse file tree 4 files changed +50
-0
lines changed Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments