JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://fonts.googleapis.com/css?family=Playball"></script>
<div class="box" id="b1">
   The quick brown fox jumped over the lazy dog.</div>
<p>Arial font</p>


<br>

<div class="box" id="b2">
   The quick brown fox jumped over the lazy dog.</div>
</div>
<p>Playball font</p>

CSS

.box {
    height: 160px;
   width: 200px;
   border: black 1px solid;    
   font-size: 2em;
   overflow-x: hidden;
   overflow-y: scroll;
   line-height: 1.2em;    
}

#b1 {font-family: 'Arial', cursive;}
#b2 {font-family: 'Playball', cursive;}

JavaScript

//Importing google fonts
WebFontConfig = {
    google: {
        families: ['Playball']
    }
};

(function() {
        var wf = document.createElement('script');
        wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
            '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
        wf.type = 'text/javascript';
        wf.async = 'true';
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertBefore(wf, s);
      })();