JSFiddle - React, Tailwind, and code Playground
by yakun chen
HTML
<p ></p>
<p>abc</p>
JavaScript
$.each([0,1,2,3],function(i,v){
$('p:first').append(i+':'+v+'<br>');
});
//odd ji
//even ou
//eq() //begin from 0
$('p:even').each(function(i,v){
$(this).css('color','green');
});