<div>
<p>Something_1</p>
<p>Something_2</p>
</div>
<div>
<p>Something_3</p>>
</div>
<script>
$("div p").css('color','red');
$("div p:last-child").css('color','green');
$("div p:last").css('color','blue');
</script>
What will be the colors of p elements after execution the code?
Login in to like
Login in to comment