h3
标记下创建一个div
元素,其中包含一个row
类。 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(/