Why is this null?
MikeJMS8910 (234)

So I have been working on a script - document.body.querySelectorAll(".page")[z].querySelector(".student-list").querySelector(".student-item cf") - but when I run it, it says that it is null.

here you can see the elements in the console and it shows that there is an element with the id of student-item cf. So how can I make this work? Thanks.

You are viewing a single comment. View All
Answered by Coder100 (18922) [earned 5 cycles]
View Answer