From 8b47ed264b4bff740cda76f682c0656a47f549ce Mon Sep 17 00:00:00 2001 From: Aditi Joshi Date: Fri, 8 Feb 2019 15:11:05 -0500 Subject: [PATCH] Fix/update challenges for sass (#35031) * style: button color change * Revert "style: button color change" This reverts commit 64574a49b7b4ac394cc3dec746764f0df30bc6d2. * fix: update sass challenge - description * fix: challenge for sass --- .../use-if-and-else-to-add-logic-to-your-styles.english.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/curriculum/challenges/english/03-front-end-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.english.md b/curriculum/challenges/english/03-front-end-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.english.md index ac8331d5c9..f74bbdcc15 100644 --- a/curriculum/challenges/english/03-front-end-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.english.md +++ b/curriculum/challenges/english/03-front-end-libraries/sass/use-if-and-else-to-add-logic-to-your-styles.english.md @@ -15,7 +15,8 @@ And just like in JavaScript, @else if and @else test f ## Instructions
Create a mixin called border-stroke that takes a parameter $val. The mixin should check for the following conditions using @if, @else if, and @else: -
light - 1px solid black
medium - 3px solid black
heavy - 6px solid black
none - no border
+
light - 1px solid black
medium - 3px solid black
heavy - 6px solid black
+If $val is not light, medium, or heavy, the border should be set to none.
## Tests