Skip to content

Commit 57bb1ac

Browse files
committed
課題に名前付ける
1 parent 843d533 commit 57bb1ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,30 +150,30 @@ CSS の<Term type="cssProperty">プロパティ</Term>には `color` (文字色)
150150

151151
## 課題
152152

153-
### 初級課題1
153+
### 初級課題1 (セレクタ)
154154

155155
次のような条件を満たす要素を選択するセレクタは何でしょうか。
156156

157157
1. `id` 属性が `foo` の要素
158158
2. `class` 属性に `bar` が含まれる要素の子孫の要素のうち、`button` 要素であるもの
159159

160-
<Answer>
160+
<Answer title="セレクタ">
161161

162162
1. `#foo`
163163
2. `.bar button`
164164

165165
</Answer>
166166

167167

168-
### 初級課題2
168+
### 初級課題2 (Hello CSS!)
169169

170170
下のような、文字色が黄色、背景色が好きな色 (この例では黒) の `Hello CSS!` をブラウザで表示してみましょう。
171171

172172
![Hello CSS!](yellow-hello-css.png)
173173

174174
使用するプロパティは `color` `background-color` です。
175175

176-
<Answer>
176+
<Answer title="Hello CSS!">
177177

178178
```html title="index.html"
179179
<!doctype html>

0 commit comments

Comments
 (0)