mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix(curriculum): update question 7 of basic css quiz (#57938)
This commit is contained in:
+3
-3
@@ -149,11 +149,11 @@ Which rule is correct for setting the width and height in CSS?
|
||||
|
||||
#### --text--
|
||||
|
||||
Which selector is correct to target `h1` elements inside of a `div`?
|
||||
Which selector correctly targets `h1` elements only when inside a `div`?
|
||||
|
||||
#### --distractors--
|
||||
|
||||
`div + h1 {}`
|
||||
`div, h1 {}`
|
||||
|
||||
---
|
||||
|
||||
@@ -161,7 +161,7 @@ Which selector is correct to target `h1` elements inside of a `div`?
|
||||
|
||||
---
|
||||
|
||||
`div > h1 {}`
|
||||
`div + h1 {}`
|
||||
|
||||
#### --answer--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user