JSFiddle - React, Tailwind, and code Playground
HTML
<button id="working">Generates an Alert</button>
<button id="fix-this-error">This error should not display</button>
<button id="should-error">Generates an Error</button>
CSS
button {
margin: 10px;
padding: 5px;
}
JavaScript
$("#working").click(function () {
alert("Seth Rollins is the greatest champion of all time.");
console.log("WWE World Heavyweight Champion");
});
$("#fix-this-error").click(function () {
alert(this_should_not_show_up_in_the_console);
console.log("This won't show");
});
$("#should-error").click(function () {
alert(oipewavqn2389tvb3t8ahwleuhtvab3iwuthabvlewiuweaqhaoiuhva98r3b2);
console.log("This won't show either");
});