cannot set properties of null innerHTML
hi i have 2 problems in script.js of todo app which i learned from freecodecamp .
the first one is when pressing (add) button while the input is empty it supposed to change the text of label of input via a (validation) simple if else statememnt combined with innerHTML but for some reason it consoled (cannot set properties of null innerHTML) .
second when you enter a task and press add it appears but when you add the second task 2 tasks will appear .
https://codepen.io/ilyas-draissia/pen/ogvWBZO
the first one is when pressing (add) button while the input is empty it supposed to change the text of label of input via a (validation) simple if else statememnt combined with innerHTML but for some reason it consoled (cannot set properties of null innerHTML) .
second when you enter a task and press add it appears but when you add the second task 2 tasks will appear .
https://codepen.io/ilyas-draissia/pen/ogvWBZO

