In this project I have developed a quiz application which is completely built using html, css and javascript. Several categories are available, and questions will only be displayed according to the categories you have selected. There are a total of 15 questions and after every 5 questions the difficulty level will be increased and the time will also be increased by 15 seconds. After completing the quiz, the result will be displayed.
- Question will be asked according to selected categories.
- After every 5 questions, difficuulty level will be increased also the time by increased by 15 secs.
- Highscore will be displayed corresponding to the timer.
- User friendly and responsive to every device.
- If the correct answers are greater than 5, confetti will be displayed.
- First time user has to selected atleast 1 category, next time when he/she tries to play quiz again, that category will be automatically selected.
- You can also share this quiz application on different social media platform, for example: whatsapp, gmail or telegram.
GET https://opentdb.com/api_category.php
GET https://opentdb.com/api.php?amount=30&category=26&difficulty=medium&type=multiple
Parameter | Type | Description |
---|---|---|
amount |
number |
required amount of questions |
category |
number |
question according to that type |
difficulty |
string |
level of difficulty of the question |
type |
string |
which type of question(true/false or multiple) |
Click here to view: link
Feel free to mail me at my email address Varshil Shah for any queries.