Question: I need to add alert function to my code, If there are any input controls that have not been populated, you will display a warning

I need to add alert function to my code, If there are any input controls that have not been populated, you will display a warning message to the user. No story will be display. The warning message can be displayed via alert() function., Thanks

Car - Mad Lib

Mad Lib

Type your name :

Select a type of car :

SUV

Truck

Sedan

Van

Sports Car

Transmission :

Manual

Automatic

Select color :

Here is the story:

Back to Main Page

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!