This is a command-line interface (CLI) tool that allows you to play a JavaScript quiz. Answer a series of multiple-choice questions and see if you can get all the answers right!
To install the JavaScript Quiz CLI Tool, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run the command
npm install
to install the required dependencies.
To start the quiz, run the command npm start
in your terminal. You will be presented with a series of questions and multiple-choice options. Select the correct answer for each question by using the arrow keys and pressing Enter.
- If you answer a question correctly, you will proceed to the next question.
- If you answer a question incorrectly, the game will end and you will lose.
- The game will display a success message for correct answers and an error message for incorrect answers.