My project is a working demonstration of a Harry Potter API found at https://www.potterapi.com/. My goal was to create a Web API that allows a user to be sorted into a Hogwarts House via a Sorting Hat, as they do in the Harry Potter series. I used a GET request with the sortingHat route to create a Web API that allows a user to click a Sorting Hat button and be randomly given a house as a result. I also used if/else statements to append an image of a badge depending on what the house result was. I utilized css classes and html tags to style my page, including a moving image of Professor Minerva McGonagall.
My project can be found at http://misdemo.temple.edu/tuf90565/mis2402%20harry%20potter/