mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-13 16:04:36 -04:00
fix(curriculum): Step 25 football team cards - too strict regex (#53869)
Co-authored-by: Kishan Sakariya <palakbhalgami@palaks-MacBook-Air.local>
This commit is contained in:
@@ -36,7 +36,7 @@ assert.match(setPlayerCards.toString(), /playerCards\.innerHTML\s*\+=/);
|
||||
You should assign `arr.map()` to the `playerCards.innerHTML` using the `+=` operator.
|
||||
|
||||
```js
|
||||
assert.match(code, /playerCards\.innerHTML\s+\+=\s*arr\.map\(\s*\(\s*\)\s*=>\s*\{\s*\}\s*\)/)
|
||||
assert.match(code, /playerCards\.innerHTML\s*\+=\s*arr\.map\(\s*\(\s*\)\s*=>\s*\{\s*\}\s*\)/)
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user