SASS - Create Reusable CSS with Mixins

Tell us what’s happening:
I cant pass it but all task done, expect :
Your code should call the border-radius mixin using the @include keyword, setting it to 15px"

sorry bad english

Your code so far

<style type='text/scss'>
@mixin border-radius($radius){
  border-radius:$radius;
  -webkit-border-radius : $radius;
  -moz-border-radius : $radius;
  -ms-border-radius : $radius;
}
  #awesome {
    width: 150px;
    height: 150px;
    background-color: green;

    @include border-radius(15px)
  }




</style>

<div id="awesome"></div>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:106.0) Gecko/20100101 Firefox/106.0

Challenge: SASS - Create Reusable CSS with Mixins

Link to the challenge:

1 Like

I’m guessing there is a regex looking for an ending semicolon ;

@include border-radius(15px);

you’re missing a semicolon

Oh isee isee i’m forgot, Thanks sir😄

I forgot, thanks for the correction😊

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.