Hello. I’ve run into an issue w/ querySelectorAll on a mini project in my Udemy course. Here is what I have.

I think I’m doing one of three things:
- Saving the variable improperly.
- Putting document.querySelectorAll in the wrong place
- Saving the wrong string in the ().
I appreciate any help. Thanks.
ILM
2
remember that the selectors are like css selectors - how do you select a class?
second thing, read your code
and read this
there is a mismatch
Right. I think I should also consider a node list setup too.
ILM
4
you need these things for this challenge
- what does querySelector returns
- what does querySelectorAll return
- class selector
- how to select an element with a certain attribute value
1 Like
Yes. I have the done part done. It’s a class and it is: ".done"
But I’m stuck on the checkbox because that is a type and I’ve been Googleing for the last 2 hours lol. Without an answer.
ILM
6
I googled “select element by attribute” and this comes out: CSS Attribute Selector!
system
Closed
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.