@syedahoorainali/quiz
v1.0.2
Published
An interactive CLI quiz application built with TypeScript.
Downloads
6
Readme
CLI TypeScript Quiz
Welcome to the CLI TypeScript Quiz! This is an interactive command-line interface (CLI) quiz application built with TypeScript. Users can answer multiple-choice questions on various topics.
Features
- Multiple-choice questions
- Real-time feedback on answers
- Score tracking
Prerequisites
Before you begin, ensure you have met the following requirements:
- Node.js installed on your computer. You can download it from Node.js official website.
Installation
To install the CLI TypeScript Quiz, run the following command:
npm install -g cli-quiz-project
Usage
To start the quiz, run the following command:
cli-quiz
You will be prompted with multiple-choice questions. Use the arrow keys to select your answer and press Enter
to submit.
Example Questions
Here are some example questions you might encounter in the quiz:
What is TypeScript?
- A superset of JavaScript
- A JavaScript framework
- A replacement for JavaScript
- A browser extension
Which keyword is used to declare a variable in TypeScript?
- let
- var
- const
- Both a and c
Contributing
If you want to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the branch:
git push origin feature/your-feature
- Submit a pull request.
Contact
If you have any questions or suggestions, feel free to contact me at [email protected].
Happy quizzing!