diff --git a/docs/1-trial-session/02-html/index.mdx b/docs/1-trial-session/02-html/index.mdx index aa760ff72..c96ca2bca 100644 --- a/docs/1-trial-session/02-html/index.mdx +++ b/docs/1-trial-session/02-html/index.mdx @@ -66,7 +66,7 @@ VS Code 上で作成したファイルは `index.html` でした。しかしな `body` 要素の中身を書き換え、次のようにしてみましょう。 - +{/* prettier-ignore */} ```html title="index.html" diff --git a/docs/1-trial-session/06-boolean/index.mdx b/docs/1-trial-session/06-boolean/index.mdx index 8f77b8f61..e6aa2c4df 100644 --- a/docs/1-trial-session/06-boolean/index.mdx +++ b/docs/1-trial-session/06-boolean/index.mdx @@ -69,7 +69,7 @@ const canRideRollerCoasters = age >= 10 && height >= 140; // true 次のコードは何を表示するでしょうか。そしてそれはなぜでしょうか。 - +{/* prettier-ignore */} ```javascript let takaoHeight = 599; let everestHeight = 8849; diff --git a/docs/1-trial-session/08-loop/index.mdx b/docs/1-trial-session/08-loop/index.mdx index 939beee36..21cd686ea 100644 --- a/docs/1-trial-session/08-loop/index.mdx +++ b/docs/1-trial-session/08-loop/index.mdx @@ -79,7 +79,8 @@ i = i + 1; i += 1; ``` - +\*/} ::: diff --git a/docs/1-trial-session/10-array/index.mdx b/docs/1-trial-session/10-array/index.mdx index ca8c61513..630f3a54e 100644 --- a/docs/1-trial-session/10-array/index.mdx +++ b/docs/1-trial-session/10-array/index.mdx @@ -229,7 +229,9 @@ document.write(`
空の配列の最大値は ${findMaxNumber([])} です。
- + +\*/} diff --git a/docs/2-browser-apps/03-class/index.mdx b/docs/2-browser-apps/03-class/index.mdx index a5ea11e2b..8cca7d3bb 100644 --- a/docs/2-browser-apps/03-class/index.mdx +++ b/docs/2-browser-apps/03-class/index.mdx @@ -357,8 +357,7 @@ document.write(false.toString()); // false ### 課題 - +{/* FIXME: 雑すぎるので修正してください。Answerタグもその時に追加してください。 */} `document.getElementById` 関数で `div` 要素を取得すると、[`HTMLDivElement` クラス](https://developer.mozilla.org/ja/docs/Web/API/HTMLDivElement)のインスタンスが返されます。このクラスは [`HTMLElement` クラス](https://developer.mozilla.org/ja/docs/Web/API/HTMLElement) を継承しており、さらに `HTMLElement` クラスは [`Element` クラス](https://developer.mozilla.org/ja/docs/Web/API/Element)を、`Element` クラスは [`Node` クラス](https://developer.mozilla.org/ja/docs/Web/API/Node)を継承しています。 diff --git a/docs/2-browser-apps/04-anonymous-function/index.mdx b/docs/2-browser-apps/04-anonymous-function/index.mdx index 439d783f0..00139a491 100644 --- a/docs/2-browser-apps/04-anonymous-function/index.mdx +++ b/docs/2-browser-apps/04-anonymous-function/index.mdx @@ -36,7 +36,7 @@ document.getElementById("strange-button").onclick = () => { JavaScript における関数式の構文は、次のとおりです。`=>` の記号が特徴的な構文となっています。 - +{/* prettier-ignore */} ```javascript (引数1, 引数2) => { 処理; diff --git a/docs/5-team-development/01-git-workflow/index.mdx b/docs/5-team-development/01-git-workflow/index.mdx index 44f421526..73fc5b456 100644 --- a/docs/5-team-development/01-git-workflow/index.mdx +++ b/docs/5-team-development/01-git-workflow/index.mdx @@ -113,7 +113,7 @@ HEAD が `master` ブランチを指している状態で、コミットを行 この例の場合、共通の祖先に対して `master` は `1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
---|