Sass if-else Test Fails

https://learn.freecodecamp.org/front-end-libraries/sass/use-if-and-else-to-add-logic-to-your-styles

Trying the code below to pass this Sass mixin exercise, but I’m stumped as to why it fails.

  @mixin border-stroke($val){
    @if $val == light{
      border: 1px solid black
    }
    @else if $val == medium{
      border: 3px solid black
    }
    @else if $val == heavy{
      border: 6px solid black
    }
    @else {
    }
  }

Any help would be appreciated.

You forgot border: none;

Thanks! I also missed all the semicolons. Challenge passed.