Consider following HTML snippet:

<p>first paragraph<p>
<p>second paragraph<p>
<p>third paragraph<p>
What is the correct jQuery code to set the background color of first <p> element to red?

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback