Question: Exercise 2 : Write the HTML and JavaScript code required to make a program containing: 3 Text Fields ( First Name, Last Name and
Exercise : Write the HTML and JavaScript code required to make a program containing:
Text Fields First Name", "Last Name" and "Email Address"
Button
Your program must create a JSON string using the values contained within each field. The JSON string
must then be displayed within a JavaScript alert.
Note: Consider including div and label elements where suitable to increase the challenge!
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
