querySelectorAll mini assignment

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

JS project selector

I think I’m doing one of three things:

  1. Saving the variable improperly.
  2. Putting document.querySelectorAll in the wrong place
  3. Saving the wrong string in the ().

I appreciate any help. Thanks.

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.

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.

I googled “select element by attribute” and this comes out: CSS Attribute Selector!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.