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: Part 62 challengeType: 0 dashedName: part-62 --- # --description-- Nest a `p` element with the text `No Copyright - freeCodeCamp.org` within the `footer` element. # --hints-- You have either deleted the `footer` element or it is missing an opening tag or closing tag." ```js assert(document.querySelector('footer') && code.match(/<\/footer>/)); ``` Your `footer` element should have a `p` element. Make sure to added an opening tag and closing tag for the `p` element. ```js assert(document.querySelector('footer > p')); ``` Your `footer` element should have a closing tag. Closing tags have a `/` just after the `<` character. ```js const pElemClosingTags = code.match(/<\/p\>/g); assert(pElemClosingTags && pElemClosingTags.length === 2); ``` Your `p` element's text should be `No Copyright - freeCodeCamp.org`. You have either omitted the text, have a typo, or it is not between the `legend` element's opening and closing tags. ```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.