Nest an Anchor Element within a Paragraph?

Nest an Anchor Element within a Paragraph?
0

#1

Can you help me with this code please…it keeps telling me I need a space after 'Veiw more ’ which I have done and it is not resolving it

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph


<h2>CatPhotoApp</h2>
<main>
  
  <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>
  
  <img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
  
  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>

</main>

<p>
  Veiw more <a href="http://freecatphotoapp.com"> cat photos</a> here </p>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph


#2

hi!

1 the instruction is to nest the EXISTING ‘a’ element within a ‘p’ element, not create another one outside the block ||
2 use the text: “View more cat photos” where “cat photos” in that phrase will be nested inside your ‘a’ element.

e.g <main> <p>some <a>text</a></p> </main>
Hope this helps


#3

Ah okay, I’ve made it the existing a element…but it still is asking for a space after ‘view more’ which I already have done…do you know why this is?


#4

Sorry for the late reply! Check your spelling of ‘view more’ it was spelled wrongly.