forked from codemaniac-sahil/javascript-clock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
29 lines (27 loc) · 870 Bytes
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Javascript clock </title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="navbar">
<img src="js_logo.svg" alt="logo">
<ul class="navlinks">
<li><a href="#">Home</a></li>
<li><a href="#">Project 1</a></li>
<li><a href="#">Project2</a></li>
</ul>
</div>
<div class="container">
<h1>Javascript clock</h1>
<p>Good<span id="time"></span></p>
<p id="timep">Time : <span id="clock"></span></p>
<p id="timep">Date : <span id="day"></span></p>
</div>
<script src="script.js"></script>
</body>
</html>