Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dannycahyo/quiz-cli
https://github.com/dannycahyo/quiz-cli
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/dannycahyo/quiz-cli
- Owner: dannycahyo
- Created: 2024-05-03T01:24:19.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-03T01:24:22.000Z (6 months ago)
- Last Synced: 2024-05-03T08:44:14.784Z (6 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Quiz CLI
#### Description
The Quiz CLI is a command-line interface application that allows users to take a quiz consisting of multiple-choice questions.
#### Pre-requisites
- Node.js installed on your local machine.
If you don't have Node.js installed, you can download it from the official website: [Node.js](https://nodejs.org/).
#### Initial & Solution Directory
- The `initial` directory contains the initial implementation of the Simple Calculator CLI.
- The `solution` directory contains the solution implementation of the Simple Calculator CLI.**Note:** The `solution` directory is final and contains the completed implementation of the Simple Calculator CLI. Please struggle with the challenge on the `initial` before checking the solution.
#### Features
- Includes a set of predefined multiple-choice questions.
- Displays questions and options in the command line interface.
- Provides immediate feedback on user answers.
- Calculates and displays the final score at the end of the quiz.#### Usage
To use the Quiz CLI, follow these steps:
1. Open your terminal or command prompt.
2. Navigate to the directory containing (initial/solution) the `index.js` file.
3. Run the following command:
```
node index.js
```
This will start the quiz and prompt you to answer each question by selecting an option.#### Notes
- Enter the number corresponding to your answer when prompted.
- Your score will be displayed at the end of the quiz.These README files provide instructions on how to use each CLI application and explain their features. You can include them in your GitHub repository for documentation.