Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started