JS not working :(

JS not working :(
0

Hi guys,

Im trying to add a new data to this array and display it but what the data i added does not show up when i enter toDos. Any suggestions as to why this might be so?

Here is the code- https://drive.google.com/file/d/1i--NjhMlkfsnD799j2JYtafpOjaVtnAE/view?usp=sharing

Would need to see how you are calling the function? What does your html file look like?

its rather empty except for the helloooo text you see on the page

I was unable to duplicate the error using the code you provided. What steps do you take to replicate the error?