Exercise 1: Change Text Content - Create an HTML document with a paragraph element (e.g., `

Hello, World!

`). - Write JavaScript code to change the text content of the paragraph to "Hello, JavaScript!" when a button is clicked.

Hello, World!

Exercise 2: Toggle Visibility - Create an HTML document with a button and a hidden div (e.g., `
This is a hidden div.
`). - Write JavaScript code to toggle the visibility of the div when the button is clicked.
DOM Exercise 2
This is a hidden div.
This is a hidden div.
Exercise 3: Create a List - Create an HTML document with an empty unordered list (`

`). - Write JavaScript code to add list items to the unordered list when a button is clicked. The list items can be generated from an array of strings.
DOM Exercise 3