find all odd numbers every method javascript code example
Example: javascript get every odd element
//you can use the css nth-child property like this:
var second-child = document.querySeletorAll('[your element name]:nth-child(odd)');
//you can use the css nth-child property like this:
var second-child = document.querySeletorAll('[your element name]:nth-child(odd)');