From 91b4f3fe97c2c2f0977acccd4f87b593fa66b9a8 Mon Sep 17 00:00:00 2001 From: Gagan Bhullar Date: Thu, 8 Aug 2024 11:12:06 -0600 Subject: [PATCH] fix(curriculum): step 18 code checking too strict in spreadsheet project (#55783) --- .../65ae458e23954c3469e0c209.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/65ae458e23954c3469e0c209.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/65ae458e23954c3469e0c209.md index d470977ba0c..13302b58f30 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/65ae458e23954c3469e0c209.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/65ae458e23954c3469e0c209.md @@ -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--