Initial commit: Modernes Harry Potter Escape Quiz Portal (FastAPI & MariaDB)

This commit is contained in:
kobold-ai
2026-09-21 11:29:18 +02:00
commit c3a21369ef
50 changed files with 3346 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
function getParam(name) {
const params = new URLSearchParams(window.location.search);
return params.get(name);
}
const score = getParam("score") || 0;
const max = getParam("max") || 10;
document.getElementById("scoreText").innerText =
`Du hast ${score} von ${max} möglichen Hauspunkten erreicht.`;