In this tutorial, we'll add a new page called "Leaderboard" to show the top 100 results. Also, we'll let users choose which quiz to show.
For this, we need another Livewire component.
php artisan make:livewire Front/Leaderboard
First, let's show leaderboard and later we will add ability to select quiz. For the query we will need to access
question_quiz pivot table. For this we'll create a model....