--- id: 6143cb26f7edff2dc28f7da5 title: Step 27 challengeType: 0 dashedName: step-27 --- # --description-- Ogni `fieldset` conterrĂ  una domanda a cui rispondere con vero/falso. All'interno di ogni `fieldset`, annida un elemento `legend` e un elemento `ul` con due opzioni. # --hints-- Dovresti annidare un elemento `legend` all'interno del primo elemento `fieldset`. ```js assert.equal(document.querySelectorAll('.question-block:nth-of-type(1) > fieldset > legend')?.length, 1); ``` Dovresti annidare un elemento `ul` all'interno del primo elemento `fieldset`. ```js assert.equal(document.querySelectorAll('.question-block:nth-of-type(1) > fieldset > ul')?.length, 1); ``` Dovresti annidare due elementi `li` all'interno del primo elemento `ul`. ```js assert.equal(document.querySelectorAll('fieldset > ul')?.[0]?.querySelectorAll('li')?.length, 2); ``` Dovresti annidare un elemento `legend` all'interno del secondo elemento `fieldset`. ```js assert.equal(document.querySelectorAll('.question-block:nth-of-type(2) > fieldset > legend')?.length, 1); ``` Dovresti annidare un elemento `ul` all'interno del secondo elemento `fieldset`. ```js assert.equal(document.querySelectorAll('.question-block:nth-of-type(2) > fieldset > ul')?.length, 1); ``` Dovresti annidare due elementi `li` all'interno del secondo elemento `ul`. ```js assert.equal(document.querySelectorAll('fieldset > ul')?.[1]?.querySelectorAll('li')?.length, 2); ``` # --seed-- ## --seed-contents-- ```html Accessibility Quiz

HTML/CSS Quiz

Student Info

--fcc-editable-region--

HTML

1

2

--fcc-editable-region--

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; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } ```