diff --git a/challenges/01-front-end-development-certification/bootstrap.json b/challenges/01-front-end-development-certification/bootstrap.json index 1b88adc1ec..182bba334c 100644 --- a/challenges/01-front-end-development-certification/bootstrap.json +++ b/challenges/01-front-end-development-certification/bootstrap.json @@ -1184,8 +1184,8 @@ ], "tests": [ "assert($(\"div.row:has(h2)\").length > 0 && $(\"div.row:has(img)\").length > 0, 'message: Your h2 element and topmost img element should both be nested together within a div element with the class row.');", - "assert($(\"div.col-xs-4:has(img)\").length > 0, 'message: Nest your topmost img element within a div with the class col-xs-4.');", - "assert($(\"div.col-xs-8:has(h2)\").length > 0, 'message: Nest your h2 element within a div with the class col-xs-8.');", + "assert($(\"div.col-xs-4:has(img)\").length > 0 && $(\"div.col-xs-4:has(div)\").length === 0, 'message: Nest your topmost img element within a div with the class col-xs-4.');", + "assert($(\"div.col-xs-8:has(h2)\").length > 0 && $(\"div.col-xs-8:has(div)\").length === 0, 'message: Nest your h2 element within a div with the class col-xs-8.');", "assert(code.match(/<\\/div>/g) && code.match(/
/g).length === code.match(/
div elements has a closing tag.');" ], "type": "waypoint",