Question
web Development: Javascript Ask user to enter 3 questions using a loop with prompts, store each word in an array. Have one html section that
web Development: Javascript
Ask user to enter 3 questions using a loop with prompts, store each word in an array.
Have one html section that displays the words in the array after the person enters them using an unordered list
- and
-
Have a new button that only is visible when the words are showing. The result of the button event should cause that "page" (section) to be replaced with a new "page" (section) which shows the words from a new array that have been transformed. The words in the array for the second page should be the same words from the first array where the last and first letters are swapped.
Use the array.map capability to construct 2nd array from the first by
"page swapping" by having 2 HTML sections, hiding one, showing the other, and then showing the one and hiding the other. see the Swap2PartOf1Page program we went over in class), Each of the 2 sections must have unique and quite distinctive CSS, including backgrounds. [
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started