fix(curriculum): step 18 code checking too strict in spreadsheet project (#55783)

pull/55796/head
Gagan Bhullar 2024-08-08 11:12:06 -06:00 committed by GitHub
parent 437cd8ea95
commit 91b4f3fe97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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--