chore(curriculum): replace assert calls in cat painting steps 78-80 (#60817)

This commit is contained in:
TheChaplain
2025-06-11 09:26:26 +00:00
committed by GitHub
parent 17edc31321
commit e2c26a5122
3 changed files with 6 additions and 6 deletions
@@ -14,7 +14,7 @@ Rotate the right middle whisker at -3 degrees.
Your `.cat-whisker-right-middle` selector should have a `transform` property set to `rotate(-3deg)`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-middle')?.transform === 'rotate(-3deg)')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-middle')?.transform, 'rotate(-3deg)');
```
# --seed--
@@ -15,25 +15,25 @@ Use class selector to target the `.cat-whisker-right-bottom` element, then move
You should have a `.cat-whisker-right-bottom` selector.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom'))
assert.exists(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom'));
```
Your `.cat-whisker-right-bottom` selector should have a `position` property set to `absolute`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.position === 'absolute')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.position, 'absolute');
```
Your `.cat-whisker-right-bottom` selector should have a `top` property set to `134px`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.top === '134px')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.top, '134px');
```
Your `.cat-whisker-right-bottom` selector should have a `left` property set to `109px`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.left === '109px')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.left, '109px');
```
# --seed--
@@ -16,7 +16,7 @@ With this final step, your cat painting is now complete.
Your `.cat-whisker-right-bottom` selector should have a `transform` property set to `rotate(3deg)`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.transform === 'rotate(3deg)')
assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-whisker-right-bottom')?.transform, 'rotate(3deg)');
```
# --seed--