JSFiddle - React, Tailwind, and code Playground
HTML
<h1>The title of this page goes here</h1>
CSS
span { font-size: 150% }
JavaScript
var h1 = $('h1'),
words = h1.html().split(' '),
withCaps = '';
for (var i = 0; i < words.length; i++)
withCaps += '<span>' + words[i].substring(0, 1).toUpperCase() + '</span>' + words[i].substring(1) + ' ';
h1.html(withCaps);