querySelectorAll is the method found on the Element and Document nodes in the DOM.
You are trying to call it by the return value of the querySelectorAll call, which returns a Node List (which is an array as an object). You will need to querySelector over the Node list and call querySelector all on each Node in it in turn.
Alternatively, just use the child combinator in your initial call.
var oferts = document.querySelectorAll("article.first .oferts");
source share