Question: Modify your greet.html page from Exercise 5.1 to similarly use a variable to simplify the displayed message. That is, the first JavaScript statement associated with
Modify your greet.html page from Exercise 5.1 to similarly use a variable to simplify the displayed message. That is, the first JavaScript statement associated with the button's ONCLICK attribute should be an assignment that stores the contents of nameBox in a variable. Then, that variable should be integrated into the message being displayed (as opposed to the full getElementById expression).
Step by Step Solution
3.35 Rating (155 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(955).docx
120 KBs Word File
