Question: Code the following in JavaScript please: You will call a function after the page loads to display a quote which uses a random number for
Code the following in JavaScript please:
You will call a function after the page loads to display a quote which uses a random number for the index of that array
element. You will call a function after the page loads to display all of the quotes on the page.
Create the array
Create the function that displays the random quote
Create the function that displays all of the quotes this must use a for loop
Extra credit retrieve value from text box when buttons is clicked and add quote to the array using a function
you will choose the array method to do this
Extra credit remove any newly added quote from the array, not the original quotes, using a function
you will choose the array method to do this
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
