diff --git a/source/use-case/ajaxapp/display/README.md b/source/use-case/ajaxapp/display/README.md index 871be08055..a000985a86 100644 --- a/source/use-case/ajaxapp/display/README.md +++ b/source/use-case/ajaxapp/display/README.md @@ -52,7 +52,7 @@ const view = ` -[import, title:"index.html"](./src/index.html) +[import, title:"index.html"](example/index.html) ここから、`div#result`要素の子要素としてHTML文字列を挿入することになります。 [document.getElementById][]メソッドを使い、id属性が設定された要素にアクセスします。 @@ -143,9 +143,9 @@ result.innerHTML = view; これらの処理を前のセクションで作成した `fetchUserInfo` 関数の中で呼び出します。 ここまでで、index.jsとindex.htmlは次のようになっています。 -[import, title:"index.js"](src/index.js) +[import, title:"index.js"](example/index.js) -[import, title:"index.html"](src/index.html) +[import, title:"index.html"](example/index.html) アプリケーションを開いてボタンを押すと、次のようにユーザー情報が表示されます。 @@ -160,21 +160,21 @@ result.innerHTML = view; ここまでのアプリは次のURLで確認できます。 -- +-