Question: Write three HTML documents that contain JavaScript code. In a file named greeting.html, type the HTML and JavaScript code for example 2 from chapter 4
Write three HTML documents that contain JavaScript code.
- In a file named greeting.html, type the HTML and JavaScript code for example 2 from chapter 4 of the textbook in I-Learn. Modify the code to display any message you want. The modified message must include the users input. Validate the code and load it in a web browser to run and test it. If it doesnt run correctly, fix it until it runs correctly.
- In a file named scripture.html, type the HTML and JavaScript code for example 3 from chapter 4 of the textbook in I-Learn. Modify the code by changing the scripture that is displayed to the user. Your program may display any scripture you want except 1 Nephi 1:1. The changed scripture must include the users input. Validate the code and load it in a web browser to run and test it. If it doesnt run correctly, fix it until it runs correctly.
- In a file named template.html, write a well formed HTML 5 document that you can use as a template for future assignments. At a minimum, your template must contain all the tags that are required in an HTML 5 document as explained in Chapter 3 of the textbook in the Required Tags section. In addition, your template must contain an opening script tag, a closing script tag, at least one input tag, an opening button tag, a closing button tag, an opening div tag, and a closing div tag.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
