Gitlab Upgrade von 13 auf 14.1 erfolgreich erledigt. Morgen, Donnerstag, kommt noch der upgrade auf 14.2.

Commit 3c712a97 authored by Ferdinand Schimana's avatar Ferdinand Schimana
Browse files

add quiz

parent 31f8c3fe
import {questions} from './questions.js'
export function askQuestion(e){
console.log(e);
console.log(questions[e].question);
console.log("a: "+questions[e].a);
console.log("b: "+questions[e].b);
console.log("c: "+questions[e].c);
console.log("d: "+questions[e].d);
}
export function answerQuestion(rnd, a){
if(questions[rnd].correctAnswer === a) return true
else return false
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment