Question: javascipt, please explain what is wrong with my code and solve it will give you a thumbs up thanks. Application project Thete projects will challenge

javascipt, please explain what is wrong with my code and solve it will give you a thumbs up thanks.
javascipt, please explain what is wrong with my code and solve it
will give you a thumbs up thanks. Application project Thete projects will

Application project Thete projects will challenge you to use what you have learned in this lesson. Create an HTML page with a JavaScript block in the chead> section of the document and another JavaScript block at the bottom of the page. In the first JavaScript block, create four variables named string1, string2, string3 and string4. Assign the value start to string 1 . Assign the return value of a prompt() method as the value for string2. Assign the return value of a conf1ra() mothod as the value for string 3 . Assign the value end to string4. In the second JavaScript block, create a docunent; wr ite () atatement that outputs the text Henlo. World. Make this text Heading Level 3 ( h3s). Create a second docusent. write() that outputs the values of each of the four variables created in the first JavaScript block. Exporiment with different methods of ensuring that a single apace exists between each value. After the code is working properly, determine a way to output the four variable values on separate lines of the HTML.page. As you experiment with the page, observe the values that are returned in various situations. For instance, note the value that is returned if the user selects the Cancel button on a prompt dialog box. Create a second HTML. page with a JavaScnpt block in the shead> section of the document and another JavaScript block in the section. In the first JavaScript block, fables named number1 and number2. Assign different numerical values to each variable. In the second JavaScript block, experiment witi nithmetic and comparison operators shown in fable 2.3. Create a docusent, write() atatement that outputs the results of the operations t1t le > AppProjeot2 var stringl = "start"; var string2 = prompt () vaxstring3=confirm(); var string 4= "end"; / seript script type="text/javasoript" document. write ("sh3>He11o, World.") / document.write(string 1+" " + string2 +"n+string3+" " +string4+" ") / script hhead h2/h2 h3/h3 chr l> seript typen"text/javasoript" seript / body

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!