The `@if` directive in Sass is useful to test for a specific case - it works just like the `if` statement in JavaScript.
```scss
@mixin make-bold($bool) {
@if $bool == true {
font-weight: bold;
}
}
```
And just like in JavaScript, `@else if` and `@else` test for more conditions:
```scss
@mixin text-effect($val) {
@if $val == danger {
color: red;
}
@else if $val == alert {
color: yellow;
}
@else if $val == success {
color: green;
}
@else {
color: black;
}
}
```
# --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`:
```scss
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`.
# --hints--
Your code should declare a mixin named `border-stroke` which has a parameter named `$val`.