diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/index.html b/index.html new file mode 100644 index 0000000..e067053 --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ +<!DOCTYPE html> +<html> + <head> + <title> + Dashboard + </title> + <link href="main.css" rel="stylesheet" /> + </head> + <body> + <div id="app"> + <div id="clock"></div> + </div> + </body> + <script> + const now = new Date(); + const clock = document.getElementById("clock"); + clock.textContent = now.toLocaleTimeString('en-US', {"timeStyle": "short"}); + </script> +</html> |