Getting of element by class name in JavaScript
Given the elements:
<p class="www">elem 1</p>
<p class="www">elem 2</p>
<p class="www">elem 3</p>
Get these elements by class name and make their text red.
Given the elements:
<p class="www">elem 1</p>
<p class="www">elem 2</p>
<p class="www">elem 3</p>
Get these elements by class name and make their text red.