Skip to content
Related Articles

Related Articles

Web technologies Questions | JavaScript Course Quiz 2 | Question 1

Improve Article
Save Article
Like Article
  • Last Updated : 18 Apr, 2019

Which of the following javascript functions allows you to get user input data?
(A) alert
(B) prompt
(C) confirm
(D) None of the above

Answer: (B)

Explanation: Only prompt creates an input field where the user can enter the data.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!