This repository contains a simple quiz app built with HTML, CSS, and JavaScript using Typescript. The app presents a series of multiple-choice questions to the user, tracks the user's score, and allows the user to navigate between questions.
The repository contains the following files:
- index.html: This is the main HTML file that contains the structure of the quiz app.
- quiz.css: This file contains the styles for the quiz app.
- quiz.js: This file contains the logic for the quiz app, including the array of questions, the functions to display questions and handle user responses, and the logic to manage the quiz state.
To use this app, fork and download the reporsitory and then simply open the index.html file in your web browser. The app will present you with a series of questions. Click on the answer you think is correct. Your score will be updated accordingly. Once you've answered all the questions, you can restart the quiz by clicking the "Restart Quiz" button.
You can customize the quiz by modifying the allQuestions array in the quiz.js file. Each question is an object with the following properties:
- question: A string that contains the question.
- options: An array of strings that contains the possible answers to the question.
- answer: A string that contains the correct answer to the question. Feel free to add, remove, or modify the questions as you see fit.
This app should work in any modern web browser that supports HTML5, CSS3, and ES6 JavaScript.
This project is licensed under the MIT License. You can find the full text of the license in the LICENSE.md file.
