Skip to content

Commit 670c8f7

Browse files
committed
end = reference
1 parent 6fc5ec6 commit 670c8f7

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

docs/1-trial-session/02-html/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ VS Code 上で作成したファイルは `index.html` でした。しかしな
133133

134134
箇条書きを作るときには、単に「・」と書くのではなく箇条書き用のタグを使います。「HTML 箇条書き」などと検索してみましょう。
135135

136-
<Answer type="持ち物リスト">
136+
<Answer title="持ち物リスト">
137137

138138
```html
139139
<!doctype html>
@@ -170,7 +170,7 @@ VS Code 上で作成したファイルは `index.html` でした。しかしな
170170
- テキストボックスは `input` タグで作成できます。
171171
- 最後の箇条書きには `ul` タグや `li` タグを使用しています。
172172

173-
<Answer type="フォーム">
173+
<Answer title="フォーム">
174174

175175
```html
176176
<!doctype html>

docs/1-trial-session/07-if-statement/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const age = 20;
8888
- 18 歳以上 ~ 25 歳未満なら `投票に行けます` と表示する
8989
- 25 歳以上なら `衆議院議員に立候補できます` と表示する
9090

91-
<Answer type="選挙権">
91+
<Answer title="選挙権">
9292

9393
if ~ else if ~ else 構文を使うと、次のように書くことができます。
9494

docs/1-trial-session/08-loop/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ const string2 = `10から2を引くと${10 - 2}です。`;
191191
いくつにすればよいでしょうか?
192192
:::
193193

194-
<Answer type="10の階乗">
194+
<Answer title="10の階乗">
195195

196196
```javascript
197197
let product = 1;
@@ -239,7 +239,7 @@ document.write(product);
239239
自然数`n``i`で割ったあまりは `n % i`で求められます。
240240
:::
241241

242-
<Answer type="素数判定">
242+
<Answer title="素数判定">
243243

244244
変数の、最後に代入した値のみを保持する性質を利用します。
245245

docs/1-trial-session/09-functions/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ for (let i = 0; i < 10; i += 1) {
175175
<p><Term type="javascriptIfStatement">if 文</Term>を使って、<code>a</code> が大きい場合と <code>b</code> が大きい場合で処理を書き分けます。</p>
176176
:::
177177

178-
<Answer type="大きい数">
178+
<Answer title="大きい数">
179179

180180
```javascript
181181
function max(a, b) {
@@ -227,7 +227,7 @@ document.write(calculateCost(3.5));
227227
> - 月間転送量 < 5.0 (GB) のとき、携帯電話料金は 月間転送量 × 600 (円/GB)
228228
> - 月間転送量 >= 5.0 (GB) のとき、携帯電話料金は 3000 (円)
229229
230-
<Answer type="携帯電話料金">
230+
<Answer title="携帯電話料金">
231231

232232
```javascript
233233
function calculateCost(monthlyDataUsage) {

docs/1-trial-session/10-array/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const numbers = [-3, -1, 9, -10, 3, 7, 6, 1, 0, 5];
129129

130130
:::
131131

132-
<Answer type="配列の要素の和">
132+
<Answer title="配列の要素の和">
133133

134134
```javascript
135135
const numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
@@ -190,7 +190,7 @@ const array4 = [-878, -40, -324, -410, -592, -610, -880, -65, -423, -32];
190190

191191
:::
192192

193-
<Answer type="配列の最大値">
193+
<Answer title="配列の最大値">
194194

195195
配列の最初の値を初期値に設定することで解消します。
196196

docs/1-trial-session/11-object/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const nextYearTanaka = incrementAge(tanaka);
7272
document.write(nextYearTanaka.age); // 19 と表示されてほしい
7373
```
7474

75-
<Answer type="年齢を増やす">
75+
<Answer title="年齢を増やす">
7676

7777
```javascript
7878
function incrementAge(person) {

docs/1-trial-session/12-css/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ CSS の<Term type="cssProperty">プロパティ</Term>には `color` (文字色)
7474
- 枠線の内側にも余白があります (padding)
7575
- ボックスに影がついています (box-shadow)
7676

77-
<Answer type="シンプルなボックス">
77+
<Answer title="シンプルなボックス">
7878

7979
```html
8080
<!doctype html>

docs/1-trial-session/13-dom/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ element.style.backgroundColor = "red";
5656

5757
[CSS の節](../12-css/index.md)の課題を、<Term type="styleAttribute">style 属性</Term>を使用せずに JavaScript のみで実現してみましょう。
5858

59-
<Answer type="JSを用いたCSSスタイリング">
59+
<Answer title="JSを用いたCSSスタイリング">
6060

6161
```html
6262
<!doctype html>

0 commit comments

Comments
 (0)