JSFiddle - React, Tailwind, and code Playground
by JamesD
HTML
<div class="one">One</div>
<div class="two">two</div>
<div >three</div>
<div >four</div>
<div class="three">five</div>
JavaScript
$(function() {
$('div:nth-child(3)').css('background', '#a5e');
$('div:nth-child(4)').css('background', '#5ae');
$('div:nth-child(3), div:nth-child(4)').css('font-weight', 'bold');
});