We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 574f70e commit e523e1eCopy full SHA for e523e1e
1 file changed
docs/2-browser-apps/06-project/index.mdx
@@ -271,7 +271,7 @@ addButton.onclick = () => {
271
addButton.disabled = true; // valueへの代入はoninputイベントを発火しない
272
editButton.textContent = "編集";
273
editButton.onclick = () => {
274
- const input = prompt("新しい内容を入力してください"。);
+ const input = prompt("新しい内容を入力してください。");
275
// prompt関数は入力された文字列が空の場合は空文字列 ("")、キャンセルされた場合はnullを返す
276
if (input !== "" && input !== null) todoText.textContent = input;
277
};
0 commit comments