Hi am trying to run this but it doesn't work:
document.querySelectorAll('div[2] div ul li a');
if I remove the [2] then it does, or if I query it separately and store it in a variable and then query that variable then it works:
var div = document.querySelectorAll('div')[2];
div.querySelectorAll('div ul li a');
Is there a way to possibly query it all in one go on the chrome console? I did some research and came across something else called nth child and type but I'm curious if this way can work too.