@GitOverHere/

Javascript clock

HTML, CSS, JS

It's a clock xD

fork
loading
Files
  • index.html
  • index.js
  • main.css
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
<!DOCTYPE html>
<html>
<head>
<title>Javascript Clock</title>
<link type="text/css" href="main.css" rel="stylesheet">


</head>
<body>
<div class="header">
<h3>Javascript Clock </h3>
<h1 id="digital-clock"></h1>
<h3 id="date"></h3>
</div>
<div class="content">
<canvas id="analog-clock" id="canvas" width="500" height="500">
Canvas's are not supported in your browser!
</canvas>
</div>




<script src="index.js"></script>
</body>
</html>
result
console