JSFiddle - React, Tailwind, and code Playground

by thecodeparadox

HTML

<h3>
     $300.00 <br><span>$500.00</span> 
</h3>

JavaScript

$('h3').html(function(index, text) {
   return $('span');
});