Skip to content

sudipb7/cli-quiz-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Quiz CLI Tool

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!

Installation

To install the JavaScript Quiz CLI Tool, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Run the command npm install to install the required dependencies.

Usage

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.

Rules

  • 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.

Good luck and have fun playing the JavaScript Quiz CLI Tool!