So I am supposed to add an a element that links to http://freecodecamp.org in my third p element (row 10 in the code if that helps). The text “cat photos” is supposed to be hyperlinked.
I thought that was what I did but it keeps giving me this message:
Your a element should be nested within your new p element.
It IS nested!!! What am I missing?
Your code so far
<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> <p>View more <a target="_blank" href=http://freecodecamp.org">cat photos</a> </p> </main>
Your browser information:
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36.