JSFiddle - React, Tailwind, and code Playground

JavaScript

var validCode = function() {
  alert('valid code ran!');
};
validCode();

syntax(Error(