Question

document created by you.  e) Write and demonstrate (at the time of viva) JavaScript code that displays the message "Welcome to Demonstration of JavaScript…Watch this Text…" and changes this text to “JavaScript can Change Display..." after 10 seconds. You may use event handling to perform the action as stated above. Make suitable assumptions, if any.

02 Aug 2023
Answer :
Word Count : 309

 

 




 JavaScript Demonstration
 


 

 

 

Welcome to Demonstration of JavaScript... Watch this Text...

 

 


 

JavaScript (script.js):
```javascript
document.addEventListener("DOMContentLoaded", function() {
  // Get the element with the ID "message"
  var messageElement = document.getElementById("message");

  // Display the initial message
  messageElement.textContent = "Welcome to Demonstration of

_______ ____ ____ ______ ________ __________ ________ _________ _____ ____.
____ _________ __________ _____ _______ _________ _________ ____ ______ _____ _____.
______ _________ ___ ________ ________ ______ ________ ________ _________ ________ ______.
______ ______ ____ ____ _________ __________ ______ _____.
______ ____ _____ ____ _______.
_________ ___ ___ _________ __________ _______ ________ _____ _______ ____.
__________ ____ ___ ______ ________ ____ _________ __________ ___ ____ ________ _______.
___ __________ _____ ____ ________ _______ _____ __________ ____ ________ _______.
____ __________ ______ _________ ___ ____ _________ _____ ____ __________.
_____ ____ _________ ________ ________ _______ _____ ________ _______ ____ ________ _______.
________ _____ ________ _______ ___ _____ _________ _______ ____ ___.
____ _____ ____ ________ _____ ___.
________ _________ ____ ________ ________ _______ ___.
_____ __________ _________ ________ ___ ________ _____ ________ ____ _____ ____.
__________ ________ __________ _________ ______ ____ ________ ________ _____ ____ _____ __________.
______ ____ ___ ______ ___ _______ ___ ________ ____ __________ ________ _________.
______ _______ ___ ____ _______ _________ ________ ________ _____ _____.
_______ ________ __________ ___ _______ _____ ________.
______ ______ ____ ____ ______ _______ ___ _______.
_______ _____ ___ ______ _________ __________ __________ _________.
__________ _____ ______ __________ _______ ____ _______ _______ ______ ________ _____ __________.
_____ ___ ____ ____ ______ _________ ___ _________ ___.
___ ___ __________ ___ ____ ______ ____ _____ _______ ______.
_______ ____ ___ _________ _________ ________ _________ __________ _____ _______ ___.
_____ ____ _____ ______ ________.
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 BCS 53 2023 2024 - document created by you.  e) Write and demonstrate (at the time o | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→