JSFiddle - React, Tailwind, and code Playground
by Jake Overall
HTML
<div>Hello my name is <b id="name">Jake</b>.</div>
CSS
.highlight {
background-color: yellow;
}
JavaScript
var people = ["Jim", "Joe", "John"];
$(document).ready(function () {
//I want to highlight something on the page
//$('#name').addClass("highlight");
//now lets change my name to James
//$('#name').click(function(){
// $('#name').text("James");
//});
//$('#name').after(" and " + people[1] + " is my friend. but I cant stand " + people[2]);
//people[0] = "Someone else";
//alert(people[0]);
});