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

View File

@@ -71,8 +71,7 @@ function listener() {
//Start a new game
function newGame() {
window.location = "http://134.2.6.146/~zxmpy88/uebung10/quiz.html";
}
}
function showQuestion() {
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();
}