JSFiddle - React, Tailwind, and code Playground

by Professor Tom DeDonno

HTML

<body>
<pre>
Is nifty just pass thru the white space...
<p id="demo">Inner HTML code - text of the node</p>
</pre>
</body>

JavaScript

/* can put this in the html document w 
   <script> right before the </body> */
   
var school  = '\tMission Viejo\'s Saddleback\n\n';
var mascot = "\t\tSaddleback's Mascot The Bobcats"; 
var indent = "\t\t"; //my indent is set to two tabstops

document.getElementById("demo").innerHTML = school + "<br />" + mascot +  
"<hr />" + "1\t1\n2\t4\n3\t9" +
"\n\n\n" +
indent + "*****    ********   *\n" +
indent + "*    *       *      *   *\n" +
indent + "*    *       *      *    *\n" +
indent + "*****        *      *   *\n" +  
indent + "*            *      * *\n" +
indent + "*            *      *\n";