--- id: bad87fee1348bd9bec908846 title: Create a Bootstrap Row challengeType: 0 videoUrl: '' localeTitle: 创建一个Bootstrap行 --- ## Description
现在我们将为内联元素创建一个Bootstrap行。在h3标记下创建一个div元素,其中包含一个row类。
## Instructions
## Tests
```yml tests: - text: 在h3元素下面添加一个div元素。 testString: 'assert(($("div").length > 1) && ($("div.row h3.text-primary").length == 0) && ($("div.row + h3.text-primary").length == 0) && ($("h3.text-primary + div.row").length > 0), "Add a div element below your h3 element.");' - text: 你的div元素应该有类row testString: 'assert($("div").hasClass("row"), "Your div element should have the class row");' - text: 你的row div应该嵌套在container-fluid div testString: 'assert($("div.container-fluid div.row").length > 0, "Your row div should be nested inside the container-fluid div");' - text: 确保你的div元素有一个结束标记。 testString: 'assert(code.match(/<\/div>/g) && code.match(/
/g).length === code.match(/
div element has a closing tag.");' ```
## Challenge Seed
```html

jQuery Playground

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