1.
Which JavaScript method allows you to change the text content of an HTML element?
2.
How can you dynamically add a new paragraph element to an HTML document using JavaScript?
3.
Which JavaScript property is used to change the source (URL) of an image element?
4.
How can you remove an HTML element from the DOM using JavaScript?
5.
Which JavaScript method is commonly used to create a new HTML element dynamically?
6.
What is the purpose of the innerText property in JavaScript?
7.
How can you change the background color of an HTML element using JavaScript?
8.
What does the appendChild() method do in JavaScript?
9.
How can you change the font size of an HTML element using JavaScript?
10.
How can you change the text color of an HTML element using JavaScript?