--- id: 5ef9b03c81a63668521804e8 title: Step 62 challengeType: 0 dashedName: step-62 --- # --description-- Annida un elemento `p` con il testo `No Copyright - freeCodeCamp.org` all'interno dell'elemento `footer`. # --hints-- Hai eliminato l'elemento `footer` oppure manca un tag di apertura o di chiusura. ```js assert(document.querySelector('footer') && code.match(/<\/footer>/)); ``` L'elemento `footer` dovrebbe avere un elemento `p`. Assicurati di aggiungere il tag di apertura e di chiusura per l'elemento `p`. ```js assert(document.querySelector('footer > p')); ``` L'elemento `footer` dovrebbe avere un tag di chiusura. I tag di chiusura hanno un carattere `/` subito dopo il carattere `<`. ```js const pElemClosingTags = code.match(/<\/p\>/g); assert(pElemClosingTags && pElemClosingTags.length === 2); ``` Il testo dell'elemento `p` dovrebbe essere `No Copyright - freeCodeCamp.org`. Hai omesso il testo, hai un refuso oppure il testo non รจ compreso tra i tag di apertura e chiusura dell'elemento `legend`. ```js const extraSpacesRemoved = $('footer > p')[0].innerText.replace(/\s+/g, ' '); assert(extraSpacesRemoved.match(/No Copyright - freeCodeCamp\.org$/i)); ``` # --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:

A slice of lasagna on a plate.
Cats love lasagna.

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Five cats looking around a field.
Cats hate other cats.

Cat Form

Is your cat an indoor or outdoor cat?
What's your cat's personality?
--fcc-editable-region-- --fcc-editable-region-- ```