JSFiddle - React, Tailwind, and code Playground
by Ehsan Sajjad
CSS
.fa-plus {
background-color:red;
font:14px;
}
.fa-minus {
background-color:blue;
font:10px;
}
}
JavaScript
$(".main_container").children().each(function(index,item){
alert($(item).prop("tagName"));
})