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


element should link to "

". Your


element should be nested within your new


element. Your


element should have the text

View more 

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

   **Your code so far**
"View more 

<a target=blank href="https://“”>cat photos


   "View more 
 <a target=blank href="https://"">cat photos</a>

 <img src="" 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>

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://"">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.

   View more
 <a "target"=blank href=https://"">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.