Question: Enter the countdown.html text from Figure 13.8 into a new Web page. After loading this page, experiment with it by changing the contents of the
Enter the countdown.html text from Figure 13.8 into a new Web page. After loading this page, experiment with it by changing the contents of the text box and verifying that the code behaves as described.
Once you have done this, modify the page so that, instead of decrementing count by 1, the code halves count's value during each loop iteration (any fractional values should be rounded down). For example, the starting value 10 would be halved to 5, then 2, then 1, and finally 0?
Step by Step Solution
3.41 Rating (179 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1098).docx
120 KBs Word File
