--- id: 6145f3a5cd9be60b9459cdd6 title: Step 37 challengeType: 0 dashedName: step-37 --- # --description-- Link the first `label` element to the `select` element, and give the `select` element a `name` attribute. # --hints-- You should give the `label` element a `for` attribute. ```js assert.notEmpty(document.querySelector('.question-block > label')?.htmlFor); ``` You should give the `select` element an `id` attribute. ```js assert.notEmpty(document.querySelector('.answer > select')?.id); ``` You should give the `select` element an `id` matching the `for` attribute of the `label` element. ```js assert.equal(document.querySelector('.answer > select')?.id, document.querySelector('.question-block > label')?.htmlFor); ``` You should give the `select` element a `name` attribute. ```js assert.notEmpty(document.querySelector('.answer > select')?.name); ``` # --seed-- ## --seed-contents-- ```html