Warn the user if JavaScript is disabled

master
HimbeerserverDE 2021-10-30 17:43:45 +02:00
parent 9eb8b0dbce
commit b3b3b2c7a5
No known key found for this signature in database
GPG Key ID: 1A651504791E6A8B
2 changed files with 7 additions and 1 deletions

View File

@ -19,3 +19,7 @@ body {
text-align: center;
border: 5px outset purple;
}
p {
font-size: 50%;
}

View File

@ -6,6 +6,8 @@
<link rel="stylesheet" href="base.css">
</head>
<body>
<div id="clock"></div>
<div id="clock">
<noscript><p>Please enable JavaScript to use this page.</p></noscript>
</div>
<script src="main.js"></script>
</html>