Quiz like quizizz or quizlet

Hello, I am trying to create a trivia or quiz app like quizlet.
Each question has:

  • Content of the question
  • Alternatives
    Note: When creating the questions I want to define which of the 5 alternatives is the correct one (only one)

on test page

I want to display in a “repeating group” (only 10 questions with their answers respectively)
and when you click “end quiz”, I want it to automatically grade the answers…
displaying an alert box with (correct answer or wrong answer depending on whether what the user marked is correct or incorrect)

MY PROBLEM IS THAT ALL THE ALTERNATIVES ARE LOADED IN EACH QUESTION