    <h2>Liste des Quiz</h2>
    <div class="quiz-container">

     <div class="quizCard">
            <a href="{{ racine }}/randomQuiz" class="linkQuiz">
                <img src="{{ racine }}/images/quizz.svg" alt="Image du quiz random">
                <h3>Quiz random </h3>
            </a>
        </div>
        
        {% for quiz in quizs %}
                <div class="quizCard">
                    <a href="{{ racine }}/quiz/{{ quiz.id_quiz }}" class="linkQuiz">
                        <img src="{{ quiz.imgPath }}" alt="Image du quiz {{ quiz.title }}">
                        <h3>{{ quiz.title }} ({{ quiz.nb_quest }} questions)</h3>
                    </a>
                </div>
        {% else %}
            <h3>Aucun quiz disponible pour le moment.</h3>
        {% endfor %}

       

    </div>
</body>
</html> 
