All you need to do is share a little info about. Web api.getquiz (quizid).then (function (quiz) {new quiz (quiz)}) } a fetch request to the api using an instance of the apiadapter class we defined in index.js as a const. The sorting hat quiz is based on the harry potter hogwarts sorting hat, tasked with placing first year students into one of the four hogwarts houses based on their personality and traits.
The guardian sorting hat quiz
The hogwarts sorting hat quiz
The sorting hat in real lifes official quiz