JavaScript 003 – Document Object

One can retrieve the loaded html document in JavaScript using its document object. Here, in this example, we will form a String and show that in the document using the JavaScript document object. Note, we can learn more about document object in future examples.
In this JavaScript Example, we will create dynamic string by asking the user input. Then, via Javascript document object we will display it.