fix(curriculum) typo in Create Reusable CSS (#39418)
Fixed a typo on the Sass Challenge "Create Reusable CSS with Mixins" where the word "vendor" was spelled incorrectly as "vender" in the test cases.
This commit is contained in:
@ -55,11 +55,11 @@ Write a mixin for <code>border-radius</code> and give it a <code>$radius</code>
|
||||
tests:
|
||||
- text: Your code should declare a mixin named <code>border-radius</code> which has a parameter named <code>$radius</code>.
|
||||
testString: assert(code.match(/@mixin\s+?border-radius\s*?\(\s*?\$radius\s*?\)\s*?{/gi));
|
||||
- text: Your code should include the <code>-webkit-border-radius</code> vender prefix that uses the <code>$radius</code> parameter.
|
||||
- text: Your code should include the <code>-webkit-border-radius</code> vendor prefix that uses the <code>$radius</code> parameter.
|
||||
testString: assert(code.match(/-webkit-border-radius:\s*?\$radius;/gi));
|
||||
- text: Your code should include the <code>-moz-border-radius</code> vender prefix that uses the <code>$radius</code> parameter.
|
||||
- text: Your code should include the <code>-moz-border-radius</code> vendor prefix that uses the <code>$radius</code> parameter.
|
||||
testString: assert(code.match(/-moz-border-radius:\s*?\$radius;/gi));
|
||||
- text: Your code should include the <code>-ms-border-radius</code> vender prefix that uses the <code>$radius</code> parameter.
|
||||
- text: Your code should include the <code>-ms-border-radius</code> vendor prefix that uses the <code>$radius</code> parameter.
|
||||
testString: assert(code.match(/-ms-border-radius:\s*?\$radius;/gi));
|
||||
- text: Your code should include the general <code>border-radius</code> rule that uses the <code>$radius</code> parameter.
|
||||
testString: assert(code.match(/border-radius:\s*?\$radius;/gi).length == 4);
|
||||
|
Reference in New Issue
Block a user