The document contains code snippets that demonstrate using JavaScript to:
1) Prompt the user to enter their name and branch and display a welcome message with the information entered;
2) Take three numbers from the user and display the greatest number;
3) Write text to the document using multiple document.write() methods.