JSFiddle - React, Tailwind, and code Playground

by naokiota

HTML

<div class="hero_text">Screen Shot</div>

JavaScript

$(".hero_text").html(function(index, text) {
        return text.replace(' ', '<br>');
});