Sass: Use @if and @else to Add Logic To Your Styles?

So I’m trying to figure out why my code won’t pass and I keep getting the “Your mixin should have an @if statement to check if $val is light, and to set the border to 1px solid black.”


My “medium @else if” passed but the others won’t and as far as I can see it’s all identical. Any help would be greatly appreciated!

You are missing some semicolons and one of the variables are name $sal instead of $val

Also use the “Ask for help” button, it’s better.