This commit is contained in:
2019-07-11 14:36:47 +02:00
parent cfb38e8972
commit 40bb0f761b

View File

@@ -73,7 +73,6 @@ function newGame() {
window.location = "http://134.2.6.146/~zxmpy88/uebung10/quiz.html"; window.location = "http://134.2.6.146/~zxmpy88/uebung10/quiz.html";
} }
function showQuestion() { function showQuestion() {
var question = questions[currentQuestion]; var question = questions[currentQuestion];
@@ -134,7 +133,7 @@ function getQuestions() {
} }
}; };
request.open("GET", "http://134.2.6.146/~zxmpy88/uebung10/api.php"); request.open("GET", "http://134.2.6.146/~zxmpy88/uebung10/api.php?n=" + n.value);
request.send(); request.send();
} }