Question

 

Write a JavaScript program that prompts the user for their name and displays a welcome message.

14 Feb 2026
Answer :
Word Count : 208
JavaScript is commonly used in Web Programming Lab to create interactive web pages that respond to user input. A simple program that prompts the user for their name and displays a welcome message can be implemented using the built-in `prompt()` and `alert()` functions. The `prompt()` function allows the program to display a dialog box asking the user to enter some information, while the `alert()` function is used to show a message on the screen. The
_________ _____ ________ ________ _______ ____ ________ ____ __________ ____ ____ _______.
________ _______ ____ __________ _______ ___ _________.
________ __________ ___ ___ _____ ____ _________ ____ ______ ___ _____.
__________ _______ _________ _________ ____ _____ ___ ______.
______ ____ ____ _________ ________.
___ _________ ___ ____ _____ _________ _____ ____ ________ ___ _________ ___.
_________ ___ _____ _______ __________ __________.
____ _______ ____ _______ ________.
___ _______ _____ _______ _______ ___ ________ ________ _____ ____ ________.
___ __________ _______ ____ _____ _____ _____ ______ _________ ________.
____ ___ ______ _____ _____.
_________ _______ ________ ____ __________ _______ ___ ________.
__________ ________ _______ ____ ____ ___ ___ ________ _________ ________.
_________ __________ __________ ______ _________ ________ _____ ____ __________ ______.
______ _________ _______ _____ _______ ___ ___ _________ ___ __________ ________ ________.
___.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCSL 147 2026 -  Write a JavaScript program that prompts the user for their n | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→