saifi-developers-quiz-app
v1.0.1
Published
This is a TypeScript-based quiz application that prompts the user with multiple-choice questions about TypeScript. The user scores points for each correct answer, and a final result is displayed at the end indicating whether the user has passed or failed.
Downloads
2
Readme
TypeScript Quiz Application
This is a TypeScript-based quiz application that prompts the user with multiple-choice questions about TypeScript. The user scores points for each correct answer, and a final result is displayed at the end indicating whether the user has passed or failed.
Features
- Multiple-choice questions about TypeScript.
- Score calculation based on correct answers.
- Pass/fail feedback based on the total score.
Installation
Clone the Repository
git clone https://github.com/Riaz-Hussain-Saifi/Quiz-.git
cd Quiz-
Install Dependencies
Make sure you have Node.js installed. Then, install the required dependencies:
npm install
Usage
To run the quiz, execute the following command in your terminal:
node index.js
Answer the questions by selecting the appropriate option, and at the end, you will see your score and whether you have passed or failed.
NPM Package
This quiz application is also available as an NPM package. You can install it globally to use it directly from your terminal:
Installation
npm install -g saifi-developers-quiz-app
Run the Quiz
After installing the package globally, you can run the quiz using the following command:
saifi-developers-quiz-app
Repository
The source code for this project is available on GitHub. Feel free to clone the repository and contribute to the project:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.
Contact
If you have any questions or feedback, feel free to contact me at [email protected]