xxxxxxxxxx
// Using jQuery to get the first child of a parent element
var firstChild = $('.parent-element').children().first();
xxxxxxxxxx
// Select the first child element using the :first-child selector
var firstChild = $('parentElement :first-child');