Question: please explain in great detail will give thums up Project 3 Now, create an HTML page with a sccripts block in the cheads section of
Project 3 Now, create an HTML page with a sccripts block in the cheads section of the document. This script ahould include the following - Create a for loop that will output the numbers one through 200 . - Create a code that ensures there is a space between each number. - Create a code that will cause a line break after the output reaches 10,20,30,40 and so on. - Create a code that outputs the value of the loop counter variable after the for loop is exited. Project 4 Finally, create an HTML. page with a sscripts block in the chead) section of the docuinent. This script should include the following: - Create a variable named color. Assign the result of a prompt dialog box as the value for the color variable. - The prompt dialog box will ask the user to select red, white or blue. - Create a switch statement. The test expression is the color variable converted to uppercase. Use RED, WHITE and BLUE after the case keywords. - As the code executes, reflect back to the user the selected choice. - Add a default clause that will execute if the user enters a choice other than those offered - Remember that the user may dick Cancel on the prompt dialog box. Create code before the switch statement to handle this eventuality. - Experiment with different ways of handling all the possible actions the user might take
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
