So i have a function that gets the value from checked checkboxs but i keep getting a error.
If i remove the last li tag i get the error
But if i leave the last