File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/2-browser-apps/06-project Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ addButton.onclick = () => {
212212 todoInput .value = " " ;
213213 editButton .textContent = " 編集" ;
214214 editButton .onclick = () => {
215- todoText .textContent = prompt (" 編集内容を入力してください " );
215+ todoText .textContent = prompt (" 新しい内容を入力してください " );
216216 };
217217 deleteButton .textContent = " 削除" ;
218218 deleteButton .onclick = () => {
@@ -281,7 +281,7 @@ addButton.onclick = () => {
281281 todoInput .value = " " ;
282282 editButton .textContent = " 編集" ;
283283 editButton .onclick = () => {
284- const input = prompt (" 編集内容を入力してください " );
284+ const input = prompt (" 新しい内容を入力してください " );
285285 // prompt 関数は入力された文字列が空の場合は空文字列 ("")、キャンセルされた場合は null を返す
286286 if (input !== " " && input !== null ) todoText .textContent = input;
287287 };
You can’t perform that action at this time.
0 commit comments