Question: For the below HTML, write JS code for q14.js that adds the following behavior: a. When the div with id=hello is clicked for the first

For the below HTML, write JS code for q14.js that adds the following behavior: a. When the div with id="hello is clicked for the first time, one new div is added to the page with text that says "hi. b. Each time the div with id="hello is clicked, twice as many divs with text hi are added as the previous click. So the second click will result in 2 new "hi"s, the third will result in 4, etc. Do not modify the HTML code below.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
