--- id: bad87fee1348bd9aed208826 title: Target the Children of an Element Using jQuery challengeType: 6 forumTopicId: 18320 localeTitle: Выбрать дочерние элементы с помощью jQuery --- ## Description
Когда HTML элементы размещены на один уровень ниже другого, они называются `дочерними` этого элемента. Например, элементы кнопки в этом задании с текстом "#target1", "#target2", и "#target3" являются `дочерними` элемента `
`. В jQuery есть функция `children()`, которая позволяет вам получить доступ к дочерним элементам любого выбранного вами элемента. Ниже пример того, как бы вы использовали функцию `children()`, чтобы дать `синий` цвет дочерним элементам вашего `left-well`. `$("#left-well").children().css("color", "blue")`
## Instructions
Дайте всем дочерним элементам вашего right-well элемента колорит оранжевый цвет.
## Tests
```yml tests: - text: All children of #right-well should have orange text. testString: assert($("#right-well").children().css("color") === 'rgb(255, 165, 0)'); - text: You should use the children() function to modify these elements. testString: assert(code.match(/\.children\(\)\.css/g)); - text: Only use jQuery to add these classes to the element. testString: assert(code.match(/
/g)); ```
## Challenge Seed
```html

jQuery Playground

#left-well

#right-well

```
## Solution
```html

jQuery Playground

#left-well

#right-well

```