πŸ“Š JavaScript
Q. What are the different types of Pop up boxes available in JavaScript?
  • (A) Alert
  • (B) Prompt
  • (C) Confirm
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

Explanation:

Let's solve it clearly:

In JavaScript, there are three types of popup boxes:

  1. Alert β€” shows a simple message with an OK button.
  2. Prompt β€” asks the user for input (shows an input box).
  3. Confirm β€” asks the user to confirm something (OK/Cancel buttons).

Thus, the correct answer is:

(D) All of the above

Explanation by: Mr. Dubey

Let's solve it clearly:

In JavaScript, there are three types of popup boxes:

  1. Alert β€” shows a simple message with an OK button.
  2. Prompt β€” asks the user for input (shows an input box).
  3. Confirm β€” asks the user to confirm something (OK/Cancel buttons).

Thus, the correct answer is:

(D) All of the above

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
174
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
98%
Success Rate