fix(curriculum): css and html test issues (#42045)

* fix: css and html issues

* fix: issues with css test

* fix: allow spaces in solution css

* fix: css tests for use-rgb-to-mix-colors
This commit is contained in:
Seth Falco
2021-05-21 13:18:42 +02:00
committed by GitHub
parent efffe56dfd
commit 4d024f3e4b
13 changed files with 26 additions and 26 deletions

View File

@ -21,7 +21,7 @@ Use the `attr()` method to add a class of `bar` to all the `rect` elements. This
Your `rect` elements should have a class of `bar`.
```js
assert($('rect').attr('class') == 'bar');
assert($('rect').attr('class').trim().split(/\s+/g).includes('bar'));
```
# --seed--

View File

@ -27,7 +27,7 @@ Add the `attr()` method to the code in the editor and put a class of `bar` on th
Your `div` elements should have a class of `bar`.
```js
assert($('div').attr('class') == 'bar');
assert($('div').attr('class').trim().split(/\s+/g).includes('bar'));
```
Your code should use the `attr()` method.