JSFiddle - React, Tailwind, and code Playground
HTML
<h1>Jquery not method </h1>
<div>Lorem ipsum.</div>
<div class="highlight"> Test Test Test Test Test Test</div>
<div class="highlight"> Test Test Test Test Test Test</div>
<div>Lorem ipsum.</div>
JavaScript
$(document).ready(function(){
$("div").not(".highlight").css("background-color", "red");
});