select specific child element using class javascript code example
Example: javascript get child element by class
// get child element of #test with class my-class
var testContainer = document.querySelector('#test');
var childNodeByClass = testContainer.querySelector('.my-class');