--- id: bad87fee1348bd9aed208826 title: Target the Children of an Element Using jQuery challengeType: 6 videoUrl: '' localeTitle: استهدف أطفال عنصر باستخدام jQuery --- ## Description
عندما يتم وضع عناصر HTML في مستوى واحد تحت مستوى آخر ، يتم تسمية children هذا العنصر. على سبيل المثال ، عناصر الزر في هذا التحدي بالنص "# target1" و "# target2" و "# target3" كلها children من عنصر <div class="well" id="left-well"> . jQuery لديه وظيفة تسمى children() تسمح لك بالوصول إلى أطفال أي عنصر قمت بتحديده. في ما يلي مثال على كيفية استخدامك الدالة children() لمنح أطفال عنصر left-well اللون blue : $("#left-well").children().css("color", "blue")
## Instructions
امنح جميع أطفال عنصر right-well اللون باللون البرتقالي.
## Tests
```yml tests: - text: 'يجب أن يكون لدى جميع أطفال #right-well نص برتقالي.' testString: 'assert($("#right-well").children().css("color") === "rgb(255, 165, 0)", "All children of #right-well should have orange text.");' - text: '' testString: 'assert(code.match(/\.children\(\)\.css/g), "You should use the children() function to modify these elements.");' - text: استخدم jQuery فقط لإضافة هذه الفئات إلى العنصر. testString: 'assert(code.match(/
/g), "Only use jQuery to add these classes to the element.");' ```
## Challenge Seed
```html

jQuery Playground

#left-well

#right-well

```
## Solution
```js // solution required ```