Help finding my class using querySelectorAll

Can anyone explain what I’m doing wrong in finding my class in JS?

I keep getting

Essentially I want my Checkboxs to trigger update()

Here is my site Read-Only:

Hey Matthew,

a simple but crucial detail: No matter how you write your Classes in Webflow, all classes in the code are always written in lower case.

Your JavaScript should therefore target .checkbox and not .Checkbox.
Change your code to let checkboxes = document.querySelectorAll('.checkbox'); and you’re good to go.

Cheers, Dennis :wave:

1 Like

Genius! Thanks so much!

1 Like