This was purely a personal project to figure out how to do a “personality quiz” in Articulate Storyline. My wife is a huge fan of Harry Potter and it eventually wore off onto me. She took a quiz online to sort her into one of the four houses at Hogwarts School of Witchcraft and Wizardry. It got me thinking…could I make something like this?
A traditional quiz wouldn’t work since there’s always a right answer and wrong answer, which isn’t the case for personality quizzes. I set up a variable for each of the four houses and then each question had an answer that corresponded to one of the four houses. When a user selects an answer, it adds a number value to the variable for that house. In the end, depending on which variable has the highest final number, the user would see which house he or she is sorted into. I added a feature to allow users who were sorted into multiple houses equally to choose which house to be sorted into. After all, the sorting hat does take your choice into account! The final look and feel of the course is very basic since I was focused more on the functionality.