File tree Expand file tree Collapse file tree 1 file changed +34
-13
lines changed
curriculum/challenges/english/blocks/lecture-what-is-css Expand file tree Collapse file tree 1 file changed +34
-13
lines changed Original file line number Diff line number Diff line change @@ -180,42 +180,63 @@ Look for the selector that targets all paragraph elements and the property that
180180
181181## --text--
182182
183- Given the following CSS rule, what will be the text size of the targeted HTML element ?
183+ Given the following HTML, which CSS rule correctly sets ` h1 ` and ` h2 ` text color to ` green ` ?
184184
185- ``` css
186- h1 {
187- color : green ;
188- font-size : 24px ;
189- }
185+ ``` html
186+ <link rel =" stylesheet" href =" styles.css" >
187+
188+ <h1 id =" title" >Example heading</h1 >
189+ <h2 class =" subheading" >Example subheading</h2 >
190+ <p >Paragraph element</p >
190191```
191192
192193## --answers--
193194
194- ` green `
195+ ``` css
196+ #title
197+ .subheading {
198+ color : green ;
199+ }
200+ ```
195201
196202### --feedback--
197203
198- The value is the specific measurement or setting applied to the property within the declaration block .
204+ Refer back to the end of the lesson for the correct syntax .
199205
200206---
201207
202- ` 24px `
208+ ``` css
209+ #title ,
210+ .subheading {
211+ color : green ;
212+ }
213+ ```
203214
204215---
205216
206- ` 16px `
217+ ``` css
218+ .title ,
219+ #subheading {
220+ color : green ;
221+ }
222+ ```
207223
208224### --feedback--
209225
210- The value is the specific measurement or setting applied to the property within the declaration block .
226+ Refer back to the end of the lesson for the correct syntax .
211227
212228---
213229
214- ` font-size `
230+ ``` css
231+ #title ,
232+ #subheading {
233+ color : green ;
234+ }
235+ ```
215236
216237### --feedback--
217238
218- The value is the specific measurement or setting applied to the property within the declaration block .
239+ Refer back to the end of the lesson for the correct syntax .
219240
220241## --video-solution--
221242
You can’t perform that action at this time.
0 commit comments