The Wayback Machine - https://web.archive.org/web/20210511053122/https://www.geeksforgeeks.org/web-technologies-questions-javascript-course-quiz-2-question-1/
Skip to content
Related Articles

Related Articles

Web technologies Questions | JavaScript Course Quiz 2 | Question 1
  • 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 :