JSFiddle - React, Tailwind, and code Playground

by vikastyagi87

HTML

<div class="test">
<span>
  text
</span>
<span>
  text
</span>
</div>

JavaScript

jQuery(document).ready(function(){

jQuery('.test span::first').html("hello");

});