JSFiddle - React, Tailwind, and code Playground
HTML
<img src="http://static.jquery.com/ui/images/logo.gif" id="logo" />
CSS
.highlighted {
background: red;
}
JavaScript
$('#logo').hover(function() {
$(this).addClass('highlighted');
}, function() {
$(this).removeClass('highlighted');
});