+ 1
Bartosz Kurek there are few errors in your code.
1) you used addEvent instead of addEventListener.
2) you passed tasks as an array. Instead it expects string for each task.
3) you forgot to append the taskItem to taskList. You need to add items to the list so it will be visible on the page.
+ 5
Jerry Hobby ,
the code does not need to be *public*. if we use it as *private*, it can be seen and executed if we open it from inside the post. but it can not be seen in the code area.
> making a code *public* makes it additionally visible and accessible in the codec area.
+ 4
Bartosz Kurek can you just copy your code in the code playground and attach it here. In my opinion the code is incomplete as the last line is not completed. So we can help it fix for you
+ 3
Thank you Lothar. I'm a tiny bit smarter because of you. :)
+ 2
Bartosz Kurek
if it is the same code as the one in your profile codes, then the problem is that you can't use local storage in Sololearn app. It's a restriction in the app for security reasons.
+ 1
That code is incomplete. It will be much easier to fix your code if you provide ALL of it in a code bits project.
Create a Code Bits project. Put everything there and get it working best you can. Then mark it as PUBLIC. Share that link to us.