remove .no-js if javascript enabled

This commit is contained in:
Ray Elliott 2021-02-17 18:41:56 +00:00
parent c4681fbd30
commit 856c300088
1 changed files with 6 additions and 2 deletions

View File

@ -18,16 +18,20 @@
<!-- Place favicon.ico in the root directory --> <!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/main.css">
<script>
document.documentElement.classlist.remove('no-js');
</script>
</head> </head>
<body> <body>
<header class="header"></header> <header class="header"></header>
<main class="main"></main> <main class="main"></main>
<footer class="footer"></footer> <footer class="footer"></footer>
<script src="js/index.js"></script> <script src="js/index.js"></script>
</body> </body>
</html> </html>