Question: 3 . Use the blackJack - StarterFile.js file to get started with reviewing the instructions ( TODO ' s ) and existing functions for the

3. Use the blackJack-StarterFile.js file to get started with reviewing the instructions (TODO's) and existing functions for the card game. You will then need to resave this file as just blackJack.js. Omit the -StarterFile from the file name. Then proceed to editing the blackJack.js functions. Once you have completed adding and editing the functions you will want to save it and place it in the p3 folder. Hint: make sure that you have all of the following functions: 1. You should have 4 button handlers (TODO) A function to Deal
A function to Hit
A function to Stay
A function to Play Again 2. A function that determines a winner (Code is provided)3. A function that that will select a card and a suit (TODO)
4. A function that returns a random element from an array (TODO)5. A function that loads the card image (Code is provided)
6. A function to play again (TODO)
7. A handler to load after the page loads (Code is provided)

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 Programming Questions!