Question: Task #2 Wanna play a game? We want to create a short program that performs the following task. A user is asked if they would

Task #2 Wanna play a game? We want to create a short program that performs the following task. A user is asked if they would like to play a game. If they answer y, yes, Yes or any other variation of the word (starting with a Y) we will print to the screen Hooray! So glad to be playing a game with you!. If they answer n, no, No or any other variation of the word No (starting with an N), then we will display to the screen Sorry that you dont want to play with me :( . If they enter any other value, we display Sorry didnt get that please enter your choice again and they will be prompted to run the program once more. Your code must include the following: toLowerCase function, a loop and the substr function

Please make it in html format

and help me it in making in JavaScript

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!