Skip to content
Snippets Groups Projects
Commit 94d4ace0 authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Load quiz.js in <head>

parent ab13bbef
Branches
No related tags found
No related merge requests found
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<title>Fragen aus der Systemprogrammung</title> <title>Fragen aus der Systemprogrammung</title>
<link rel="stylesheet" href="./quiz.css" /> <link rel="stylesheet" href="./quiz.css" />
<script src="./quiz.js"></script>
</head> </head>
<body> <body>
<main class="info-box"> <main class="info-box">
...@@ -72,7 +73,7 @@ ...@@ -72,7 +73,7 @@
</p> </p>
<footer> <footer>
<code>$Id: quiz.html,v 1.20 2024/01/21 11:04:37 oj14ozun Exp oj14ozun $</code> <code>$Id: quiz.html,v 1.21 2024/01/21 11:15:21 oj14ozun Exp oj14ozun $</code>
<code id="js-version"></code> <code id="js-version"></code>
</footer> </footer>
</aside> </aside>
...@@ -109,7 +110,6 @@ ...@@ -109,7 +110,6 @@
<a id="report" href="#" target="_blank" rel="noopener noreferrer">Fehler melden</a> <a id="report" href="#" target="_blank" rel="noopener noreferrer">Fehler melden</a>
<span id="display-hl-hack"></span> <span id="display-hl-hack"></span>
</body> </body>
<script src="./quiz.js"></script>
<script async> <script async>
const match = window.location.href.match(/\/(\w+)\.html$/); const match = window.location.href.match(/\/(\w+)\.html$/);
if (match) { if (match) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment