Move script tag to head

This commit is contained in:
joncrangle
2023-12-01 01:13:44 -05:00
parent 6e4bba7f91
commit 7e455c9d70

View File

@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/styles.css" />
<title>ladder</title>
<script src="/script.js" defer></script>
<script>
const handleThemeChange = () => {
let theme = localStorage.getItem("theme");
@@ -342,6 +343,5 @@
});
}
</script>
<script src="/script.js"></script>
</body>
</html>