how to get the first child in jquery code example
Example 1: jquery first child
$('div:first-child')
Example 2: jquery first child
$( "li" ).first().css( "background-color", "red" );
$('div:first-child')
$( "li" ).first().css( "background-color", "red" );