diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md index 42c523f1877..e696e812a07 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-html-forms-by-building-a-registration-form/60fac56271087806def55b33.md @@ -7,7 +7,7 @@ dashedName: step-30 # --description-- -Nest the `select` element within a `label` element with the text `How did you hear about us?`. The text should come before the `select` element. +Nest the select element (with its option elements) within a `label` element with the text `How did you hear about us?`. The text should come before the `select` element. # --hints-- @@ -29,6 +29,12 @@ You should place the text before the `select` element. assert.match(document.querySelector('fieldset:nth-child(3) > label:nth-child(3)')?.innerHTML?.trim().replace(/[\t\n]+/g, ''), /^How did you hear about us\?/); ``` +You should have 5 `option` elements inside the `select` element. + +```js +assert.equal(document.querySelectorAll('fieldset > label > select > option')?.length, 5); +``` + # --seed-- ## --seed-contents--