We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acd78db commit 91d998dCopy full SHA for 91d998d
docs/2-browser-apps/06-project/index.mdx
@@ -74,8 +74,8 @@ todoList.appendChild(li);
74
75
```js
76
addButton.onclick = () => {
77
- console.log(todoInput.value);
78
- todoInput.value = "";
+ console.log(todoInput.value); // todoInput に入力された内容を console に表示する
+ todoInput.value = ""; // todoInput の入力を空にする
79
};
80
```
81
0 commit comments