JSFiddle - React, Tailwind, and code Playground
HTML
<footer>
<a href="#"> test </a>
</footer>
JavaScript
$('body').find('footer a').css('color', 'red');
<footer>
<a href="#"> test </a>
</footer>
$('body').find('footer a').css('color', 'red');