A paragraph with class="example".
Another paragraph with class="example".
Click the button to add a background color to the first p element (index 0) in the document with class="example".
Note: The querySelectorAll() method is not supported in Internet Explorer 8 and earlier versions.