diff --git a/client/public/favicon.ico b/client/public/favicon.ico new file mode 100644 index 0000000..c273e31 Binary files /dev/null and b/client/public/favicon.ico differ diff --git a/client/public/logo192.png b/client/public/logo192.png index fc44b0a..4297517 100644 Binary files a/client/public/logo192.png and b/client/public/logo192.png differ diff --git a/client/public/logo512.png b/client/public/logo512.png index a4e47a6..1bf3bd7 100644 Binary files a/client/public/logo512.png and b/client/public/logo512.png differ diff --git a/client/src/Quiz.js b/client/src/Quiz.js index 35ad881..921106d 100644 --- a/client/src/Quiz.js +++ b/client/src/Quiz.js @@ -27,9 +27,8 @@ function Quiz({ quiz, onAnswer, clicked }) { {question.choices.map((choice, index) => { var choices = ["a", "b", "c", "d", "e"]; const isCorrect = choices[index] === question.answer.toLowerCase(); - const className = `answer-choice ${ - clicked[key - 1] ? (isCorrect ? "correct" : "incorrect") : "" - }`; + const className = `answer-choice ${clicked[key - 1] ? (isCorrect ? "correct" : "incorrect") : "" + }`; return (
- {explanations[key - 1].explanation}{explanations[key - 1]} +
+ {explanations[key - 1].explanation}{explanations[key - 1]}
)} diff --git a/client/src/index.css b/client/src/index.css index b24b0e2..a11ef39 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -54,7 +54,4 @@ code { .text-incorrect { color: red; -} - - - +} \ No newline at end of file