Skip to content

Commit 0627d58

Browse files
committed
ADDED title to ans tags in Class
1 parent 670c8f7 commit 0627d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/2-browser-apps/03-class/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ tanaka.introduceSelf();
114114

115115
自分自身の年齢を 1 増やすメソッド `incrementAge` を定義して、実行してみてください。
116116

117-
<Answer>
117+
<Answer title="年齢を増やすメソッド">
118118

119119
```javascript
120120
class Student {
@@ -275,7 +275,7 @@ tanaka.introduceSelf(); // 私の名前は田中です。18歳です。ドイツ
275275

276276
`Student` クラスを継承して `SeniorStudent` クラスを作ってみましょう。`SeniorStudent` クラスのインスタンスは `researchQuestion` プロパティを持ち、`introduceSelf` メソッドを実行すると自分の名前を出力した後に自分の研究内容を紹介するようにしてみましょう。
277277

278-
<Answer>
278+
<Answer title="学生のClassの定義">
279279

280280
```javascript
281281
class Student {

0 commit comments

Comments
 (0)