Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2: Develop a JavaScript program that reads the name and the age of the user using input dialog box and then display one of

image text in transcribed
Question 2: Develop a JavaScript program that reads the name and the age of the user using input dialog box and then display one of the following messages using popup message box: If the user is 18 or older, display the message: "Welcome back . We, missed you." If the user is younger than 18 , display the message: "Hello . We are sorry. This website is for grown-ups only." (2.5 Marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago