diff --git a/seed_data/challenges/bootstrap.json b/seed_data/challenges/bootstrap.json index b9cbe82209..e19c9c4918 100644 --- a/seed_data/challenges/bootstrap.json +++ b/seed_data/challenges/bootstrap.json @@ -602,7 +602,7 @@ "name": "Waypoint: Use the Bootstrap Grid to Put Elements Side By Side", "difficulty": 0.054, "description": [ - "Put the \"like\", \"Info\" and \"Delete\" buttons side-by-side by wrapping all three of them within one <div class=\"row\"> element, then each of them within a <div class=\"col-xs-4\"> element.", + "Put the \"Like\", \"Info\" and \"Delete\" buttons side-by-side by wrapping all three of them within one <div class=\"row\"> element, then each of them within a <div class=\"col-xs-4\"> element.", "Bootstrap uses a responsive grid system, which makes it easy to put elements into rows and specify each element's relative width. Most of Bootstrap's classes can be applied to a div element.", "Here's a diagram of how Bootstrap's 12-column grid layout works:", "", @@ -611,8 +611,8 @@ "The row class is applied to a div, and the buttons themselves can be wrapped within it." ], "tests": [ - "assert($('.row').length > 0, 'Your new button should be wrapped within a div with the class \"row\".')", - "assert($('.col-xs-4').length > 2, 'Each of your bootstrap buttons should be wrapped in a div with the class \"col-xs-4\".')" + "assert($('div.row:has(button)').length > 0, 'Your buttons should be wrapped within a div with the class \"row\".')", + "assert($('div.col-xs-4').length > 2, 'Each of your Bootstrap buttons should be wrapped in a div with the class \"col-xs-4\".')" ], "challengeSeed": [ "",