Assignment2 WT(MCA312B) Unit 2
Assignment2 WT(MCA312B) Unit 2
Maximum Marks: 64
Note: Late submissions will not be accepted and will be given zero marks.
Instructions:
1. Attempt all the questions.
2. Illustrate your answers with suitable examples and diagrams, wherever necessary.
3. Write relevant question numbers before writing the answer.
Q.2 a) Create a simple HTML page with a button. Write JavaScript to change the button's text when it is clicked.
b) Write a script that creates a new list item and appends it to an existing unordered list in the HTML document.