--- id: bad87fee1348bd9aec908848 title: 創建 Bootstrap Wells challengeType: 0 forumTopicId: 16825 dashedName: create-bootstrap-wells --- # --description-- Bootstrap 有一個叫作 `well` 的 class,作用是使界面更具層次感。 在每一個 class 屬性爲 `col-xs-6` 的 `div` 元素中都嵌入一個帶有 `well` class 的 `div` 元素。 # --hints-- 應在每一個 class 屬性爲 `col-xs-6` 的 `div` 元素中添加一個帶有 `well` class 的 `div` 元素。 ```js assert($('div.col-xs-6').not(':has(>div.well)').length < 1); ``` 兩個 class 爲 `col-xs-6` 的 `div` 元素都應該嵌入一個 class 爲 `row` 的 `div` 元素。 ```js assert($('div.row > div.col-xs-6').length > 1); ``` 確保所有的 `div` 元素都有一個閉合標籤。 ```js assert( code.match(/<\/div>/g) && code.match(/