fix(curriculum): step 18 code checking too strict in spreadsheet project (#55783)
parent
437cd8ea95
commit
91b4f3fe97
|
@ -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--
|
||||
|
|
Loading…
Reference in New Issue