()
| 71 | }) |
| 72 | |
| 73 | function check(){ |
| 74 | if(inputValue.value != ""){ |
| 75 | new item(inputValue.value); |
| 76 | todos.push(inputValue.value); |
| 77 | window.localStorage.setItem("todos", JSON.stringify(todos)); |
| 78 | inputValue.value = ""; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | |
| 83 | for (var v = 0 ; v < todos.length ; v++){ |