--- id: 6143908b6aafb00a659ca189 title: Step 21 challengeType: 0 dashedName: step-21 --- # --description-- Tenendo a mente le raccomandazioni per gli input dei moduli, dai ad ogni `input` degli attributi `type` e `name` appropriati. Quindi, dai al primo `input` un attributo `placeholder`. # --hints-- Dovresti dare al primo `input` un `type` di `text`. ```js assert.equal(document.querySelectorAll('input')?.[0]?.type, 'text'); ``` Dovresti dare al secondo `input` un `type` di `email`. ```js assert.equal(document.querySelectorAll('input')?.[1]?.type, 'email'); ``` Dovresti dare al terzo `input` un `type` di `date`. ```js assert.equal(document.querySelectorAll('input')?.[2]?.type, 'date'); ``` Dovresti dare al primo attributo `input` un `name` appropriato. ```js assert.isAtLeast(document.querySelectorAll('input')?.[0]?.name?.length, 1); ``` Dovresti dare al secondo attributo `input` un `name` appropriato. ```js assert.isAtLeast(document.querySelectorAll('input')?.[1]?.name?.length, 1); ``` Dovresti dare al terzo attributo `input` un `name` appropriato. ```js assert.isAtLeast(document.querySelectorAll('input')?.[2]?.name?.length, 1); ``` Dovresti dare al primo attributo `input` un attributo `placeholder`. ```js assert.notEmpty(document.querySelectorAll('input')?.[0]?.placeholder); ``` # --seed-- ## --seed-contents-- ```html