Skip to content

Commit

Permalink
Merge pull request #37 from SimonStnn/enhancement/script-in-head
Browse files Browse the repository at this point in the history
Add script to head closes #24
  • Loading branch information
C-o-m-o-n committed Dec 22, 2023
2 parents 1b8fb7e + 2ca438e commit eff6268
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap">
<link rel="stylesheet" href="./resources/css/style.css">


<script src="resources/js/index.js" defer type="module"></script>

<!-- <script src="resources/js/index.js" defer type="module"></script> -->
<script src="https://kit.fontawesome.com/b7218fa253.js" crossorigin="anonymous"></script>

</head>

<body>
Expand Down Expand Up @@ -68,7 +72,5 @@ <h1 class="shake"> Score:<span id="score"></span></h1>
<p>Something interesting</p>
</div>
</div>
<!-- Something -->
<script src="resources/js/index.js" type="module"></script>
</body>
</html>

0 comments on commit eff6268

Please sign in to comment.