--- 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 Accessibility Quiz

HTML/CSS Quiz

--fcc-editable-region--

Student Info

--fcc-editable-region--

HTML

CSS

``` ```css body { background: #f5f6f7; color: #1b1b32; font-family: Helvetica; margin: 0; } header { width: 100%; height: 50px; background-color: #1b1b32; display: flex; } #logo { width: max(100px, 18vw); background-color: #0a0a23; aspect-ratio: 35 / 4; padding: 0.4rem; } h1 { color: #f1be32; font-size: min(5vw, 1.2em); } nav { width: 50%; max-width: 300px; height: 50px; } nav > ul { display: flex; justify-content: space-evenly; } h1, h2 { font-family: Verdana, Tahoma; } h2 { border-bottom: 4px solid #dfdfe2; } ```