JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<p>This is the first paragraph.</p>
<h3>This is the heading </h3>
<p>This is the second paragraph.</p>
<p>This is the last paragraph.</p>
JavaScript
$(document).ready(function(){
$("p:last").css("background-color", "yellow");
});