Skip to content

Commit 2457257

Browse files
committed
fix: load script as an ES module
1 parent d0ce382 commit 2457257

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

debugging/book-library/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
1212
/>
1313
<link rel="stylesheet" type="text/css" href="style.css" />
14+
<script src="script.js" type="module"></script>
1415
<title>Book Library</title>
1516
</head>
1617

@@ -87,7 +88,5 @@ <h1>Library</h1>
8788
</tr>
8889
</tbody>
8990
</table>
90-
91-
<script src="script.js"></script>
9291
</body>
9392
</html>

0 commit comments

Comments
 (0)