JSFiddle - React, Tailwind, and code Playground
by s4ty
HTML
<div class="wrap">
<a href="#"><img src="1.png" /></a>
<a href="#"><img src="2.png" /></a>
<a href="#"><img src="3.png" /></a>
<a href="#"><img src="4.png" /></a>
</div>
JavaScript
$(function(){
alert($('div.wrap').html());
$('div.wrap > a').addClass('element-class');
alert($('div.wrap').html());
})