diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646ddf888632fa67f1180940.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646ddf888632fa67f1180940.md index 04305124296..6b966c0eb98 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646ddf888632fa67f1180940.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646ddf888632fa67f1180940.md @@ -14,19 +14,19 @@ Move the left eye into position with a `position` property of `absolute`, a `top Your `.cat-left-eye` selector should have a `position` property set to `absolute`. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.position === 'absolute') +assert.equal( new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.position, 'absolute') ``` Your `.cat-left-eye` selector should have a `top` property set to `54px`. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.top === '54px') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.top, '54px') ``` Your `.cat-left-eye` selector should have a `left` property set to `39px`. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.left === '39px') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.left, '39px') ``` # --seed-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646de5dc8988076a1d992afd.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646de5dc8988076a1d992afd.md index ca444cecd18..56f5714d17d 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646de5dc8988076a1d992afd.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646de5dc8988076a1d992afd.md @@ -14,13 +14,13 @@ To make the left eye look like an eye, give it a border radius of `60%`. Also, u Your `.cat-left-eye` selector should have a `border-radius` property set to `60%`. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.borderRadius === '60%') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.borderRadius, '60%') ``` Your `.cat-left-eye` selector should have a `transform` property set to `rotate(25deg)`. ```js -assert(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.transform === 'rotate(25deg)') +assert.equal(new __helpers.CSSHelp(document).getStyle('.cat-left-eye')?.transform, 'rotate(25deg)') ``` # --seed--