--- id: 60fac56271087806def55b33 title: Step 30 challengeType: 0 dashedName: step-30 --- # --description-- Annida l'elemento `select` in un elemento `label` con il testo `How did you hear about us?`. Il testo dovrebbe trovarsi prima dell'elemento `select`. # --hints-- Dovresti annidare solo l'elemento `select` all'interno di un elemento `label`. ```js assert.exists(document.querySelector('fieldset:nth-child(3) > label:nth-child(3) > select')); ``` Dovresti assegnare all'elemento `label` il testo `How did you hear about us?`. ```js assert.equal(document.querySelector('fieldset:nth-child(3) > label:nth-child(3)')?.innerText?.trim(), 'How did you hear about us?'); ``` Dovresti posizionare il testo prima dell'elemento `select`. ```js assert.match(document.querySelector('fieldset:nth-child(3) > label:nth-child(3)')?.innerHTML?.trim().replace(/[\t\n]+/g, ''), /^How did you hear about us\?/); ``` # --seed-- ## --seed-contents-- ```html Registration Form

Registration Form

Please fill out this form with the required information

--fcc-editable-region--
--fcc-editable-region--
``` ```css body { width: 100%; height: 100vh; margin: 0; background-color: #1b1b32; color: #f5f6f7; } label { display: block; margin: 0.5rem 0; } ```