Skip to content

Commit 91d998d

Browse files
committed
サンプルコードの日本語の説明の追加
1 parent acd78db commit 91d998d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/2-browser-apps/06-project/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ todoList.appendChild(li);
7474

7575
```js
7676
addButton.onclick = () => {
77-
console.log(todoInput.value);
78-
todoInput.value = "";
77+
console.log(todoInput.value); // todoInput に入力された内容を console に表示する
78+
todoInput.value = ""; // todoInput の入力を空にする
7979
};
8080
```
8181

0 commit comments

Comments
 (0)