JSFiddle - React, Tailwind, and code Playground

by Timmy Willison

HTML

<form class="ok"></form>

JavaScript

console.log( $('form').attr('class') );