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.
- Host: GitHub
- URL: https://github.com/das-jishu/pottermania
- Owner: das-jishu
- Created: 2020-04-26T07:16:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-03T04:28:12.000Z (about 4 years ago)
- Last Synced: 2025-02-07T13:32:34.584Z (5 months ago)
- Topics: algorithm, api, bootstrap, css, frontend, github, github-pages, harry-potter, html, javascript, potterapi, quiz
- Language: JavaScript
- Homepage: https://das-jishu.github.io/pottermania/
- Size: 1.91 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.