JSFiddle - React, Tailwind, and code Playground

HTML

Text: <input type="text" id="words" value="" /> 
       <input id="animateBtn" type="button" value="Animate" />
<div class="print"></div>

CSS

@import url(http://fonts.googleapis.com/css?family=Lobster);

.print {
    font: 44px/0.8em "Lobster", cursive;
    color: gold;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 1);
}

JavaScript

var join = Array.prototype.join;

$('#animateBtn').on('click', function() {
    var txt = $('#words').val(),
        spaced_txt = join.call(txt, "</br>");

    $('.print').html(spaced_txt);
});