Jump to content
Killersites Community

Leaderboard


Popular Content

Showing content with the highest reputation on 11/06/2017 in all areas

  1. 1 point
    Hello domdag27, Here is a little program that solves your problem. You can test it by using the three files (test.html, screen.css and local-storage2.js) I've attached to my reply. It can of course be further improved, for example by checking that no two tasks have the same identifier before being added and displayed in your table. As a general rule of thumb, you should always split up your JavaScript programs into several parts (= or little functions) to write it and improve it more easily. You'll see that in this one, there is seven little functions each dedicated to a specific purpose. I've commented out as much as I could this javascript program. Enjoy! local-storage2.js screen.css test.html
×