Cat Photos
Click here to view more cat photos.
Cat Lists
Things cats love:
- cat nip
- laser pointers
- lasagna
Top 3 things cats hate:
- flea treatment
- thunder
- other cats
--- 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
Click here to view more cat photos.