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"`.