mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): fix class names in cat painting project (#54995)
This commit is contained in:
+2
-2
@@ -11,13 +11,13 @@ Create two `div` elements, the first inside the `.cat-left-ear` element with a c
|
||||
|
||||
# --hints--
|
||||
|
||||
You should not change the existing `div` element with the class `cat-left-inner-ear`.
|
||||
You should not change the existing `div` element with the class `cat-left-ear`.
|
||||
|
||||
```js
|
||||
assert(document.querySelectorAll('div.cat-left-ear').length === 1);
|
||||
```
|
||||
|
||||
You should not change the existing `div` element with the class `cat-right-inner-ear`.
|
||||
You should not change the existing `div` element with the class `cat-right-ear`.
|
||||
|
||||
```js
|
||||
assert(document.querySelectorAll('div.cat-right-ear').length === 1);
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ You should not change the existing `div` element with the class `cat-left-eye`.
|
||||
assert(document.querySelectorAll('div.cat-left-eye').length === 1);
|
||||
```
|
||||
|
||||
You should not change the existing `div` element with the class `.cat-right-eye`.
|
||||
You should not change the existing `div` element with the class `cat-right-eye`.
|
||||
|
||||
```js
|
||||
assert(document.querySelectorAll('div.cat-right-eye').length === 1);
|
||||
|
||||
Reference in New Issue
Block a user