JSFiddle - React, Tailwind, and code Playground

by Marc

HTML

<div class="protected">
    <p><a href="#">1Text</a></p>
</div>

JavaScript

$(document).ready(function(){

    $('.protected').children('a').attr('rel', 'nofollow');
    
})