JSFiddle - React, Tailwind, and code Playground

by serio

HTML

<div>Here is some text</div>

CSS

div { font-weight: bold; }

JavaScript

if( $( 'div' ).css( 'font-weight' ) === 'bold' )
{console.log( 'it is bold!' );}