Select Filter does'nt filter my todo Javascript

Hi guys,Im trying to filter my todo’s using a select but I get contains of undefined Please help

Todo List

Hi not sure if you’ve figured it out, but if you havent.

  1. use the ‘change’ event for the select element

  2. Instead of getting childNodes which includes nodes such as text and comments which you dont want in this case use children.

  3. convert the HTMLCollection that children gives you into an array … that should so it

1 Like

Thanks alot hey it worked