An open API service indexing awesome lists of open source software.

https://github.com/das-jishu/pottermania

Pottermania is basically a website which allows you to take a quiz based on the magical world of Harry Potter. There is no predefined question bank. Rather, questions are generated based on a simple algorithm, every time an user takes the quiz. Data is fetched using an API.
https://github.com/das-jishu/pottermania

algorithm api bootstrap css frontend github github-pages harry-potter html javascript potterapi quiz

Last synced: 4 months ago
JSON representation

Pottermania is basically a website which allows you to take a quiz based on the magical world of Harry Potter. There is no predefined question bank. Rather, questions are generated based on a simple algorithm, every time an user takes the quiz. Data is fetched using an API.

Awesome Lists containing this project

README

        

POTTERMANIA
----------------------------------------------------------------------------------------------------------------------------------------

This is a pet project of mine. It is basically a website which allows you to take a quiz based on the magical world of Harry Potter. What makes it different from other quizzing sites and pages is that I have not used a predefined question bank and selected random questions to be displayed. Not a single question has been prewritten and stored. Rather, it generates questions every time the page is loaded. The generation of the questions is based on a simple algorithm which uses an API to fetch data from a database (related to Harry Potter) and some random numbers. Since the amount of information is vast, the chances of getting a question repeated for an user is very less.

----------------------------------------------------------------------------------------------------------------------------------------

Languages and frameworks used: HTML, CSS, Bootstrap, JavaScript(with jQuery).

---------------------------------------------------------------------------------------------------------------------------------------

If you face issues regarding the page not loading or the quiz not working as it should, please REFRESH a couple of times and check internet connection before proceeding.

------------------------------------------------------------------------------------------------------------------------------------------

ATTRIBUTIONS:

Harry Potter API: To get access to all data and generate questions from it.
Link: https://www.potterapi.com/

Quotes API: To generate a random quote on every page reload and display on the bottom of the main page.
Link: https://pprathameshmore.github.io/QuoteGarden/

------------------------------------------------------------------------------------------------------------------------------------------

© Copyright. All rights reserved.
Developed by Subham Das.