diff --git a/src/Components/Links/LinksPage.tsx b/src/Components/Links/LinksPage.tsx
index 878af66..a21a3ef 100644
--- a/src/Components/Links/LinksPage.tsx
+++ b/src/Components/Links/LinksPage.tsx
@@ -72,17 +72,7 @@ function Links() {
Other links
- All the synopsis for the manga used in the quiz were taken from with
-
- My Anime List
-
- or
-
- Anilist
-
- . Below are some interesting reads that were linked in the
- What Is Shoujo?
- video above.
+ All the synopsis for the manga used in the quiz were taken from with My Anime List or Anilist. Below are some interesting reads that were linked in the What Is Shoujo? video above.
diff --git a/src/Components/QuizItems/QuizLogic.tsx b/src/Components/QuizItems/QuizLogic.tsx
index efff87b..c2b0ac1 100644
--- a/src/Components/QuizItems/QuizLogic.tsx
+++ b/src/Components/QuizItems/QuizLogic.tsx
@@ -4,9 +4,9 @@ import './quiz.css';
function QuizLogic() {
// State Properties of the quiz
- const [currentQuestion, setCurrentQuestion] = useState(0);
- const [showFinalScore, setShowFinalScore] = useState(false);
- const [score, setScore] = useState(0);
+ const [ currentQuestion, setCurrentQuestion ] = useState(0);
+ const [ showFinalScore, setShowFinalScore ] = useState(false);
+ const [ score, setScore ] = useState(0);
// giving functionality
@@ -15,7 +15,7 @@ function QuizLogic() {
// check if the users clicked answer returns true (the correct answer)
if (isCorrect) {
// adds the value of the question to the current state of the score
- setScore(score + questions[currentQuestion].questionValue);
+ setScore(score + questions[ currentQuestion ].questionValue);
}
// determines the position of the next question in the array adding 1 to the idex of the current question
@@ -77,8 +77,7 @@ function QuizLogic() {
{finalScoreWords}
- You got a {scorePercentage}
- %!
+ You got a {scorePercentage}%!
{score} out of {questions.length} correct
@@ -101,24 +100,22 @@ function QuizLogic() {
)}
- Question
- {currentQuestion + 1} of
- {questions.length}
+ Question {currentQuestion + 1} of {questions.length}