JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <style>
      #words div.MyClass {
        border: solid 1px;
        margin: 10px 0;
      }
    </style>
  </head>
  <body>
    <div id="words">
      Hello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you bodyHello world my name is Mohammed and i love JavaScript and this is just random text to test in it I hope you are having a good time Love you body
    </div>
    <script>
    	function splitText(elm,...