div
element below the h3
tag, with a class of row
.
div
element below your h3
element.
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: Your div
element should have the class row
testString: assert($("div").hasClass("row"), 'Your div
element should have the class row
');
- text: Your row div
should be nested inside the container-fluid div
testString: assert($("div.container-fluid div.row").length > 0, 'Your row div
should be nested inside the container-fluid div
');
- text: Make sure your div
element has a closing tag.
testString: assert(code.match(/<\/div>/g) && code.match(/