Skip to content

Commit 99eeba9

Browse files
authored
レビュー反映
1 parent 3a120f5 commit 99eeba9

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
@@ -73,8 +73,8 @@ todoList.appendChild(li);
7373
また、`HTMLInputElement#value` プロパティから、DOM に対応する input 要素の入力欄への入力内容を取得できます。
7474

7575
```js
76-
todoText.textContent = todoInput.value; // todoInput の value を span 要素の textContent に代入する
77-
todoInput.value = ""; // todoInput の入力を空にする
76+
const inputValue = todoInput.value; // todoInput の value を取得する
77+
todoInput.value = ""; // todoInput の入力欄を空にする
7878
```
7979

8080
<Details summary='ステップ 1 の解答例'>

0 commit comments

Comments
 (0)