mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-18 10:00:55 -04:00
fix(curriculum): update question 7 of basic css quiz (#57938)
This commit is contained in:
committed by
GitHub
parent
7446e34f8a
commit
ec50fd54de
@@ -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