--- id: 5ef9b03c81a63668521804d3 title: Step 27 challengeType: 0 dashedName: step-27 --- # --description-- Dopo la lista ordinata, aggiungi un altro elemento `figure`. # --hints-- L'elemento `figure` dovrebbe avere un tag di apertura. I tag di apertura hanno questa sintassi: ``. ```js assert(document.querySelectorAll('figure').length === 2); ``` L'elemento `figure` dovrebbe avere un tag di chiusura. I tag di chiusura hanno un carattere `/` subito dopo il carattere `<`. ```js assert(code.match(/<\/figure>/g).length === 2); ``` Ci dovrebbe essere un elemento `figure` proprio sopra il tag di chiusura del secondo elemento `section`. ```js assert($('main > section')[1].lastElementChild.nodeName === 'FIGURE'); ``` # --seed-- ## --seed-contents-- ```html

CatPhotoApp

Cat Photos

Click here to view more cat photos.

A cute orange cat lying on its back.

Cat Lists

Things cats love:

  • cat nip
  • laser pointers
  • lasagna
A slice of lasagna on a plate.
Cats love lasagna.

Top 3 things cats hate:

--fcc-editable-region--
  1. flea treatment
  2. thunder
  3. other cats
--fcc-editable-region--
```