JSFiddle - React, Tailwind, and code Playground
by Adi Jaya
HTML
<div class="row client">
<a href="somepage.php" style="color:red;">Link1</a>
<span style="color:blue;">Span</span>
<h3 style="color:green;">Subtitle</h3>
<h3 style="color:red;">Subtitle</h3>
<h3 style="color:blue;">Subtitle</h3>
</div>
JavaScript
var elements = $(".client" ).children()
$(elements).each(function(index) {
console.log( index + ": " + $(this).css("color"));
});