mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-01 01:00:36 -04:00
fix(curriculum): step 18 code checking too strict in spreadsheet project (#55783)
This commit is contained in:
@@ -32,10 +32,10 @@ assert.match(code, /input\.ariaLabel\s*=/);
|
||||
```
|
||||
|
||||
|
||||
You should assign `letter + number` to `input.ariaLabel`.
|
||||
You should give `input.ariaLabel` the same value as `input.id`.
|
||||
|
||||
```js
|
||||
assert.match(code, /input\.ariaLabel\s*=\s*letter\s*\+\s*number/);
|
||||
assert.match(code, /input\.ariaLabel\s*=\s*((letter\s*\+\s*number)|(input.id))/);
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
||||
Reference in New Issue
Block a user