Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<h2>CatPhotoApp</h2>
<main>
<p> View More
<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>
</p>
<img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<p>Kitty ipsum dolor sit amet, shed <a href="https://www.freecatphotoapp.com">everywhere </a>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>
The problem is that the tests says I have to have only one, <a … element. My second problem is why does it say that the a element should have the link to “https://www.freecatphotoapp.com” When I already wrote/typed the link with the <a href= anchor
You are receiving that message because the code you posted above has two anchor elements in it. There should only be one. You were supposed to nest the existing anchor element within a new paragraph. You did that, but you also added an anchor element in the p element that starts with “Kitty ipsum dolor sit…”. Remove that anchor element and you will pass the tests.
I’ve changed your thread title to describe your problem more clearly. Descriptive titles, such as “Why does my function return undefined?”, are more likely to elicit helpful responses than generic titles, such as “Help please”, or really long titles which should go in the body of your post.