Creating a Quiz System with Laravel 10 + Livewire 3: Step-by-Step

Now that user can take quizzes we need to save results in the DB which we will do in this tutorial.

For this we will need two Eloquent Models:

  • Test where we will save information about user, which test (another word for "quiz" but it's broader) he took, how much time it took him.
  • TestAnswer where we will store the information about which answers user chose during the quiz.

This lesson is only for Premium Members.
Want to access all lessons of this course?

You also get:

  • 60 courses (1084 lessons, 42 h 44 min total)
  • Premium tutorials
  • Access to repositories
  • Private Discord