Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
<head>
<title>Clock</title>
</head>
<body>
<p id="clock"></p>
<script>
setInterval(() => {
document.getElementById("clock").textContent = new Date().toLocaleTimeString()
}, 1000)
</script>
</body>
</html>Coding works best on desktop or with an external keyboard.