---
id: bad87fee1348bd9aec908854
title: Label Bootstrap Wells
challengeType: 0
videoUrl: ''
localeTitle: 标签Bootstrap Wells
---
## Description
为了清楚起见,我们用它们的ID标记我们的两个井。在左侧井的上方,在其col-xs-6
div
元素内,添加一个带有文本#left-well
的h4
元素。在右侧井上方,在其col-xs-6
div
元素内,添加一个带有文本#right-well
的h4
元素。
## Instructions
## Tests
```yml
tests:
- text: 在每个<div class="col-xs-6">
元素中添加一个h4
元素。
testString: 'assert($(".col-xs-6").children("h4") && $(".col-xs-6").children("h4").length > 1, "Add an h4
element to each of your <div class="col-xs-6">
elements.");'
- text: '一个h4
元素应该有#left-well
文本。'
testString: 'assert(new RegExp("#left-well","gi").test($("h4").text()), "One h4
element should have the text #left-well
.");'
- text: '一个h4
元素应该有#right-well
文本。'
testString: 'assert(new RegExp("#right-well","gi").test($("h4").text()), "One h4
element should have the text #right-well
.");'
- text: 确保所有h4
元素都有结束标记。
testString: 'assert(code.match(/<\/h4>/g) && code.match(//g).length === code.match(/h4 elements have closing tags.");'
```
## Challenge Seed
## Solution
```js
// solution required
```