JSFiddle - React, Tailwind, and code Playground
HTML
<form id='contactForm'>
<input type='text' />
<input type='text' />
<input type='text' />
<input type='text' />
<input type='text' />
<input type='text' />
</form>
JavaScript
$(function() {
console.log($('#contactForm :input'));
$('#contactForm :input').css('border', '20px solid green');
});