Question: 1 . Describe a method that can be used to gather a piece of data such as the users age . 2 . Write the

1. Describe a method that can be used to gather a piece of data such as the users age.2. Write the JavaScript code to display an alert message for users who are under 18 years old and a different alert message for users who are 18 years or older.3. What is a function definition?

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 Programming Questions!