JSFiddle - React, Tailwind, and code Playground
by Raphaël
HTML
<p>Phrase 1</p>
<p>Phrase 2</p>
<p>Phrase 3</p>
<p>Phrase 4</p>
JavaScript
$("p").mouseenter(function(){
$(this).css("background-color","blue");
});
$("p").mouseleave(function(){
$(this).css("background-color","white");
});