2021-06-15 00:49:18 -07:00
---
id: bad87fee1348bd9aec908849
2021-06-26 21:42:30 +05:30
title: Aggiungere elementi in un contenitore well
2021-06-15 00:49:18 -07:00
challengeType: 0
forumTopicId: 16636
dashedName: add-elements-within-your-bootstrap-wells
---
# --description--
2021-06-26 21:42:30 +05:30
Ora siamo a diversi elementi `div` di profondità su ogni colonna della nostra riga. Questa è la profondità a cui dovremo andare. Ora possiamo aggiungere i nostri elementi `button` .
2021-06-15 00:49:18 -07:00
2021-06-26 21:42:30 +05:30
Annida tre elementi `button` all'interno di ciascuno dei tuoi elementi `div` di classe `well` .
2021-06-15 00:49:18 -07:00
# --hints--
2021-06-26 21:42:30 +05:30
Tre elementi `button` dovrebbero essere annidati all'interno di ciascuno dei tuoi elementi `div` di classe `well` .
2021-06-15 00:49:18 -07:00
```js
assert(
$('div.well:eq(0)').children('button').length === 3 & &
$('div.well:eq(1)').children('button').length === 3
);
```
2021-06-26 21:42:30 +05:30
Dovresti avere un totale di 6 elementi `button` .
2021-06-15 00:49:18 -07:00
```js
assert($('button') & & $('button').length > 5);
```
2021-06-26 21:42:30 +05:30
Tutti i tuoi elementi `button` dovrebbero avere tag di chiusura.
2021-06-15 00:49:18 -07:00
```js
assert(
code.match(/< \/button > /g) &&
code.match(/< button / g ) & &
code.match(/< \/button > /g).length === code.match(/< button / g ). length
);
```
# --seed--
## --seed-contents--
```html
< div class = "container-fluid" >
< h3 class = "text-primary text-center" > jQuery Playground< / h3 >
< div class = "row" >
< div class = "col-xs-6" >
< div class = "well" >
< / div >
< / div >
< div class = "col-xs-6" >
< div class = "well" >
< / div >
< / div >
< / div >
< / div >
```
# --solutions--
```html
< div class = "container-fluid" >
< h3 class = "text-primary text-center" > jQuery Playground< / h3 >
< div class = "row" >
< div class = "col-xs-6" >
< div class = "well" >
< button > < / button >
< button > < / button >
< button > < / button >
< / div >
< / div >
< div class = "col-xs-6" >
< div class = "well" >
< button > < / button >
< button > < / button >
< button > < / button >
< / div >
< / div >
< / div >
< / div >
```