javascript get element by tag child 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');