Jasper Yu says to YSITD
a = document.getElementsByClassName('badge_card_set_card') for(i of a){ b = i.getElementsByClassName('game_card_ctn') console.log(b[0].onclick.toString()) b = i.getElementsByClassName('badge_card_set_text_qty') console.log(b[0].innerText) }