From b9f2f720585ded63779e4ac4c13dd3f8ff069bf2 Mon Sep 17 00:00:00 2001 From: Stuart Mosquera Date: Wed, 20 Aug 2025 13:03:21 -0300 Subject: [PATCH] fix(curriculum): replace test method in step 24 'workshop-hotel-feedback-form' (#61882) --- .../workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md b/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md index 032829c3e72..035f3197655 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-hotel-feedback-form/66a962954f4e0d76223b37ed.md @@ -56,7 +56,7 @@ assert.strictEqual(document.querySelectorAll("fieldset:nth-of-type(3) label + in You should have a `label` element with the text of `Reputation` below the location checkbox. ```js -assert.isNotNull(document.querySelectorAll('fieldset:nth-of-type(3) input[value="location"] + label')?.textContent, 'Reputation'); +assert.strictEqual(document.querySelector('fieldset:nth-of-type(3) input[value="location"] + label')?.textContent?.trim(), 'Reputation'); ``` Your `label` should have the `for` attribute set to `"reputation"`.