JSFiddle - React, Tailwind, and code Playground
by nosfan1019
HTML
<p boo='radley'>one</p>
<p>one</p>
<p>one</p>
<p>one</p>
<p>one</p>
JavaScript
$(function () {
$('p').each(function() {
if ($(this).attr
if ($(this).attr('boo')) {
var aaa = ' yes';
} else {
var aaa = ' no';
}
$('p').append(aaa);
});