JSFiddle - React, Tailwind, and code Playground

HTML

<footer>
    <a href="#"> test </a>
</footer>

JavaScript

$('body').find('footer a').css('color', 'red');