JSFiddle - React, Tailwind, and code Playground

by Louis Lazaris

HTML

<!-- HTML-like comments can be included in JavaScript

See: https://tc39.github.io/ecma262/#sec-html-like-comments -->

CSS

body {
  font-family: Arial, sans-serif;
  margin: 20px;
  line-height: 1.5;
}

JavaScript

<!-- test comment -->

document.body.innerHTML = "Adding some text to the body.";

<!-- another test comment -->

document.body.innerHTML += "<br>Adding some more text to the body.";