JSFiddle - React, Tailwind, and code Playground

by Manuel Gertrudix

HTML

<!DOCTYPE html>
<html>
  <body>

    <h1>Display innerHTML</h1>
    <p>En este modo, se escribe el contenido del scripy sobre un elemento del DOM que localiza mediante el método getElementById</p>

    <p id="demo"></p>

    <script>
      document.getElementById("demo").innerHTML = 5 + 6;
    </script>

  </body>
</html>