Nest an Anchor element within a paragraph-Nesting

Tell us what’s happening:
Describe your issue in detail here.
I keep receiving these errors and I don’t know what is wrong.
// running tests
The

a

element should link to "

https://www.freecatphotoapp.com

". Your

a

element should be nested within your new

p

element. Your

p

element should have the text

View more 

(with a space after it). // tests completed

   **Your code so far**
    <p>
"View more 

<a target=blank href="https://“www.freecatphotoapp.com”>cat photos


<h2>CatPhotoApp</h2>
<main>

<p>
   "View more 
 <a target=blank href="https://"www.freecatphotoapp.com">cat photos</a>
   </p>

 <img src="https://www.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>
footer>Copyright Cat Photo App</footer>
   **Your browser information:**

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

 <a target=blank href="https://"www.freecatphotoapp.com">cat photos</a>

This line is causing the problems. “blank” should be in quotes and you have and extra quote in the url.

Also, there is an unneeded quote before “View more” and somehow your footer lost an angle bracket, but I don’t think those are causing the test to fail.

When I fix those, your code passes for me.

<p>
   View more
 <a "target"=blank href=https://"www.freecatphotoapp.com">cat photos</a></p>

Thank you for responding. This is the code I am using and I am still getting errors.

your quotes are all in the wrong places
the attributes should be in the format name="value"


I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.