Skip to content

Commit 43179e5

Browse files
committed
コメントを文の一部だけのものに変更
1 parent 932043a commit 43179e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ addButton.onclick = () => {
176176
[`prompt` 関数](https://developer.mozilla.org/ja/docs/Web/API/Window/prompt を使い、ユーザーに入力を求めることができます。
177177

178178
```javascript
179-
// ユーザーに入力を求め、入力された値を todoText.textContent に代入する
180-
todoText.textContent = prompt("新しい内容を入力してください。");
179+
todoText.textContent = prompt("新しい内容を入力してください。"); // ユーザーに入力を求める
181180
```
182181

183182
<Details summary='ステップ 3 の解答例'>

0 commit comments

Comments
 (0)