From 29ad1896bf2b83b0aaf8b44dddb8ca5e88a735a7 Mon Sep 17 00:00:00 2001 From: systimotic Date: Mon, 2 Jan 2017 23:25:12 +0100 Subject: [PATCH] Clarify btn-primary instructions --- .../bootstrap.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/challenges/01-front-end-development-certification/bootstrap.json b/challenges/01-front-end-development-certification/bootstrap.json index 34cff5ba35..e4b47c5ca0 100644 --- a/challenges/01-front-end-development-certification/bootstrap.json +++ b/challenges/01-front-end-development-certification/bootstrap.json @@ -507,9 +507,9 @@ "id": "bad87fee1348cd8acef08811", "title": "Taste the Bootstrap Button Color Rainbow", "description": [ - "The btn-primary class is the main color you'll use in your app. It is useful for highlighting actions you want your user to take.", - "Add Bootstrap's btn-primary class to your button.", - "Note that this button will still need the btn and btn-block classes." + "The btn-primary class styles the app elements it is applied to as the primary action on a page.", + "Add Bootstrap's btn-primary class to your Like button.", + "Note that the Like button will still need the btn and btn-block classes." ], "challengeSeed": [ "", @@ -572,8 +572,8 @@ "" ], "tests": [ - "assert($(\"button\").hasClass(\"btn-primary\"), 'message: Your button should have the class btn-primary.');", - "assert($(\"button\").hasClass(\"btn-block\") && $(\"button\").hasClass(\"btn\"), 'message: Your button should still have the btn and btn-block classes.');", + "assert($(\"button\").first().hasClass(\"btn-primary\"), 'message: Your Like button should have the class btn-primary.');", + "assert($(\"button\").first().hasClass(\"btn-block\") && $(\"button\").first().hasClass(\"btn\"), 'message: Your Like button should still have the btn and btn-block classes.');", "assert(code.match(/<\\/button>/g) && code.match(/