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

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