diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf1206cac5f51804f49cf.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf1206cac5f51804f49cf.md index 7512ce8f661..6c4ec9ec209 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf1206cac5f51804f49cf.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf1206cac5f51804f49cf.md @@ -18,7 +18,7 @@ Set the `transform` property to `rotate(-45deg)` and see what happens. You should set the `transform` property of your `.cat-left-ear` element to `rotate(-45deg)`. Don't forget to add a semicolon. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.transform === 'rotate(-45deg)') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.transform, 'rotate(-45deg)') ``` # --seed-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf6cbca98e258da65c979.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf6cbca98e258da65c979.md index f91a47e0514..23f8f708b96 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf6cbca98e258da65c979.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cf6cbca98e258da65c979.md @@ -14,7 +14,7 @@ As you did for the left ear, rotate the right ear at 45 degrees. You should set the `transform` property of your `.cat-right-ear` element to `rotate(45deg)`. Don't forget to add a semicolon. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.transform === 'rotate(45deg)') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.transform, 'rotate(45deg)') ``` # --seed-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfc2b8e6fe95c20a819d5.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfc2b8e6fe95c20a819d5.md index 81a27f982c8..607ea50ad17 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfc2b8e6fe95c20a819d5.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfc2b8e6fe95c20a819d5.md @@ -18,7 +18,7 @@ To see `z-index` in action, set the `z-index` property of the left ear to `-1`. Your `.cat-left-ear` selector should have a `z-index` of `-1`. Don't forget to add a semicolon. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.zIndex === '-1') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.zIndex, '-1') ``` # --seed-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfd853634255d02b64cc1.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfd853634255d02b64cc1.md index be5facc8ba1..469dede97ee 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfd853634255d02b64cc1.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfd853634255d02b64cc1.md @@ -16,7 +16,7 @@ Instead of `-1`, set the `z-index` property of the left ear to `1`. Your `.cat-left-ear` selector should have a `z-index` of `1`. Don't forget to add a semicolon. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.zIndex === '1') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-ear')?.zIndex, '1') ``` # --seed-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfde6ac612e5d60391f50.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfde6ac612e5d60391f50.md index bff302ede9d..8134de19b8f 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfde6ac612e5d60391f50.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646cfde6ac612e5d60391f50.md @@ -14,7 +14,7 @@ Set the `z-index` property of the right ear to `1` so it always stays over the h Your `.cat-right-ear` selector should have a `z-index` of `1`. Don't forget to add a semicolon. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.zIndex === '1') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-right-ear')?.zIndex, '1') ``` # --seed--