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