Page 1 of 1

JAVASCRIPT

Posted: Fri Jul 08, 2022 6:43 am
by answerhappygod
JAVASCRIPT
Javascript 1
Javascript 1 (27.28 KiB) Viewed 39 times
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