When I run the code with debugger position is defined as NaN and the variable todo is undefined. Funny enough the toggle all function I have works without issue. I am thinking maybe I made a spelling or formatting mistake somewhere but I’ve been staring at it so long it is starting to blur together.
Here is a link to paste bin
Any help would be greatly appreciated!