JSFiddle - React, Tailwind, and code Playground
by quanghoan
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<h2>This is dqhoan</h2>
<p class="myClass">This is the 1st sentence</p>
<p id="myId">This is the 2nd sentence</p>
<p> Scuti is growing up in Asia </p>
<button>Click me</button>
JavaScript
$(document).ready(function(){
$("button").click(function(){
$(".myClass,#myId").css("background-color","red");
});
});