Can some one suggest me whats wrong in my code

Tell us what’s happening:

Your code so far


<style type='text/sass'>

@mixin border-radius($radius){
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
  webkit-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 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Create Reusable CSS with Mixins

Link to the challenge:

There are a couple of things incorrect in your solution;

  • There is an order to how the vendor prefixes are entered.
  • There are three things incorrect with this line;
    webkit-border-radius : $radius;
    It’s missing something in the beginning, there should be a space between the attribute and the colon, it’s on the wrong line.

Hope that helps.