diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c48df8674cf2b91020ecc.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c48df8674cf2b91020ecc.md index f77a0e679a3..fcdb7a241ba 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c48df8674cf2b91020ecc.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c48df8674cf2b91020ecc.md @@ -25,7 +25,7 @@ const link = document.querySelector("head>link"); assert.equal(link?.getAttribute("rel"), "stylesheet"); const href = link?.getAttribute("data-href"); console.log(href) -assert(href === "./styles.css" || href === "styles.css"); +assert.oneOf(href, ["./styles.css", "styles.css"]); ``` # --seed-- diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5d7057c45f432fcdd46c.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5d7057c45f432fcdd46c.md index 21ce91dd272..8bb238d769e 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5d7057c45f432fcdd46c.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c5d7057c45f432fcdd46c.md @@ -14,7 +14,7 @@ Using a class selector, give the `.cat-head` element a width of `205px` and a he You should have a `.cat-head` selector. ```js -assert(new __helpers.CSSHelp(document)?.getStyle('.cat-head')) +assert.exists(new __helpers.CSSHelp(document)?.getStyle('.cat-head')) ``` Your `.cat-head` selector should have a `width` set to `205px`.