mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): assert methods in cat painting step 29 (#60136)
This commit is contained in:
+2
-2
@@ -14,13 +14,13 @@ Remove the sharp border of the right ear by setting the `border-top-left-radius`
|
||||
Your `.cat-right-ear` selector should have a `border-top-left-radius` property set to `90px`. Don't forget to add a semicolon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTopLeftRadius === '90px')
|
||||
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTopLeftRadius, '90px')
|
||||
```
|
||||
|
||||
Your `.cat-right-ear` selector should have a `border-top-right-radius` property set to `10px`. Don't forget to add a semicolon.
|
||||
|
||||
```js
|
||||
assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTopRightRadius === '10px')
|
||||
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.borderTopRightRadius, '10px')
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user