Skip to content

shubh-37/mark-2-levelZero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mark-2-levelZero

This is a do-you-know-me quiz created using javascript.

In this code I used a method called ReadlineSync, it is used to take input from the user in a CLI app.

Afterwards, I created an array of objects of questions along with the correct answers to it.

I ran a for loop on this array which display a new question in each iteration and if the user inputs the correct answer it will increment the score by 1 and if not then it will the score as it is.

At the end, the score is displayed.

About

This is a do-you-know-me quiz created using javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published