From eea074dfab3bfc3f9bfd7c5299e3798bbb3f4b3d Mon Sep 17 00:00:00 2001 From: evankart <95543565+evankart@users.noreply.github.com> Date: Wed, 22 Nov 2023 14:31:35 -0800 Subject: [PATCH] fix(curriculum): add explanation for child combinator (#52403) Co-authored-by: Jessica Wilkins <67210629+jdwilkin4@users.noreply.github.com> --- .../614090d5a22b6f0a5a6b464c.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614090d5a22b6f0a5a6b464c.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614090d5a22b6f0a5a6b464c.md index dd739c2086e..81d553a4d03 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614090d5a22b6f0a5a6b464c.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614090d5a22b6f0a5a6b464c.md @@ -9,6 +9,10 @@ dashedName: step-13 # --description-- +The child combinator selector `>` is used between selectors to target only elements that match the second selector and are a direct child of the first selector. + +This can be helpful when you have deeply nested elements and want to control the scope of your styling. + Use the `>` selector to target the unordered list elements within the `nav` elements, and use _Flexbox_ to evenly space the children. # --hints--