diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c59e942f35541923104bf.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c59e942f35541923104bf.md index d483fe5c8f8..de7969559c4 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c59e942f35541923104bf.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-painting/646c59e942f35541923104bf.md @@ -14,25 +14,25 @@ Back in your HTML, create a `main` element. Inside that `main` element, add a `d You should have a `main` element. ```js -assert(document.querySelectorAll('main').length === 1); +assert.lengthOf(document.querySelectorAll('main'), 1); ``` You should have a `div` element. ```js -assert(document.querySelectorAll('div').length === 1); +assert.lengthOf(document.querySelectorAll('div'), 1); ``` Your `div` element should have the class `cat-head`. ```js -assert(document.querySelector('div')?.getAttribute('class') === 'cat-head'); +assert.equal(document.querySelector('div')?.getAttribute('class'), 'cat-head'); ``` Your `div` element should be inside your `main` tag. ```js -assert(document.querySelectorAll('main div').length === 1); +assert.lengthOf(document.querySelectorAll('main div'), 1); ``` # --seed--