JSFiddle - React, Tailwind, and code Playground

HTML

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

JavaScript

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