HOW TO GET THE SECOND CHILD OF AN ELEMENT USING JAVASCRIPT code example
Example: javascript get 2nd child element
//you can use the css nth-child property like this:
var second-child = document.querySeletorAll('[your element name]:nth-child(2)');
//you can use the css nth-child property like this:
var second-child = document.querySeletorAll('[your element name]:nth-child(2)');