Change:
<!-- NOTE: If you're reporting a security issue, don't create a GitHub issue. Instead, email We will look into it immediately. --Issue Description Following the given instructions. The test will fail for the border-stroke($val) { $val === light { border: 1px solid black; } if $val === medium { border: 3px solid black; } if $val === heavy { border: 6px solid black; } { border: none; } } The checkmark at the bottom left says: "Your mixin should have an statement to set the border to none." and it will pass if using "none" but not "no border" as suggested. My suggestion is to replace "no border" from the instructions with "none" Link to the page with the problem: browser and operating system: Browser Name: Chrome Browser Version: Version 71.0.3578.98 (Official Build) (64-bit) Operating System: MacOs Sierra Version 10.12.6
Are you still facing this problem because on my end the code is working fine?
Hi yes. I still have the same issue. Following the instructions, the last test doesnt pass ! If I put 'border: none' in the statement it passes !
I believe the instruction is little misleading. It should have been 'no border - none' instead of 'none - border' as border doesn't doesn't have a property called "no border" but does have a property called "none". I could change the description of it to reduce confusion. Please let me know if this clarifies your concern or if it is a completely different issue.
yes, it has clarified my issue. Thank you for your help.

Discussion:
<section id="description"> Директива <code>@if</code> в Sass полезна для проверки конкретного случая - она ​​работает так же, как и оператор <code>if</code> в JavaScript. <blockquote> @mixin make-bold ($ bool) { <br> @if $ bool == true { <br> font-weight: bold; <br> } <br> } </blockquote> И так же, как в JavaScript, <code>@else if</code> и <code>@else</code> test для получения дополнительных условий: <blockquote> @mixin text-effect ($ val) { <br> @if $ val == опасность { <br> красный цвет; <br> } <br> @else, если $ val == alert { <br> цвет: желтый; <br> } <br> @else, если $ val == success { <br> цвет: зеленый; <br> } <br> @else { <br> черный цвет; <br> } <br> } </blockquote></section> ## Instructions <del> <section id="instructions"> Создайте <code>mixin</code> называемый <code>border-stroke</code> который принимает параметр <code>$val</code> . <code>mixin</code> должен проверить следующие условия, используя <code>@if</code> , <code>@else if</code> и <code>@else</code> : <blockquote> свет - 1px сплошной черный <br> средний - 3px сплошной черный <br> тяжелый - 6px сплошной черный <br> none - нет границы </blockquote></section> </del> <ins> <section id="instructions"> Создайте <code>mixin</code> называемый <code>border-stroke</code> который принимает параметр <code>$val</code> . <code>mixin</code> должен проверить следующие условия, используя <code>@if</code> , <code>@else if</code> и <code>@else</code> : <blockquote>свет - 1px сплошной черный<br>средний - 3px сплошной черный<br>тяжелый - 6px сплошной черный</blockquote> Если <code>$val</code> не является <code>light</code>, <code>medium</code>, или <code>heavy</code>, для границы должно быть установлено значение <code>none</code>. </section> </ins> ## Tests <section id='tests'>