2. Write function addWord to do the following a. Empty parameter list b. Set element idx of the words array equal to the value of HTML element id "js-word" c. Increment variable idx by one d. Update the value of HTML element id "js-word" to an empty string e. Call function displayWords, passing zero arguments
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!