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