JSFiddle - React, Tailwind, and code Playground

HTML

<div place='test' style="background-color: red; height: 40px; width: 100%;"></div>

JavaScript

$(function(){
    $("div:[place='test']").css({'background-color': 'yellow'});
});