The parameter $radius must be referenced with a dollar sign inside the mixin body.
Step 2: Identify the error in property value
The code uses radius without $, so it is treated as a literal string, causing wrong CSS.
Final Answer:
Missing $ before radius inside mixin -> Option D
Quick Check:
Parameter references need $ inside mixin [OK]
Hint: Always use $ when referencing parameters inside mixin [OK]
Common Mistakes:
Forgetting $ before parameter names
Misusing @include syntax
Thinking units are not allowed in parameters
5. You want to create a mixin responsive-text that sets font size differently for mobile and desktop. It takes two parameters: $mobile-size and $desktop-size. Which Sass code correctly applies the font sizes using a media query inside the mixin?