Question: a) Create a simple webpage (as shown in Figure 1) with the following form elements and include a JavaScript (i.e. function) that will check
a) Create a simple webpage (as shown in Figure 1) with the following form elements and include a JavaScript (i.e. function) that will check the form if all the inputs are given completely. If all the inputs are given prompt a "Thank you" alert when the submit button is clicked. Otherwise alert "Please fill in all fields". Name Email Phone Submit Figure 1.
Step by Step Solution
3.41 Rating (157 Votes )
There are 3 Steps involved in it
To achieve this task you can create an HTML file with the following code html DOCTYPE html html lang... View full answer
Get step-by-step solutions from verified subject matter experts
