Added a function that runs when a quiz subject gets clicked. The function makes a call to the database and is console logging all the quizzes for that specific title.