This is a p element in div.

This is also a p element in div.

Click the button to add a background color to the first p element (index 0) in div.

Note: The querySelectorAll() method is not supported in Internet Explorer 8 and earlier versions.