Read the instruction carefully: even if this is a challenge about the a tag it does not necessarily means that you should manipulate it!
The challenge introduction speaks about the existing a element and it asks you to write the paragraph into which it will be nested: in other words you just need to write the p HTML element, where the content is composed by some text - "View more " (double check the capitalization and the final space) - and the a HTML element already present in the page.
You can visualize the final structure of your p element as follows:
desc
code
Opening tag
<p>
Some text content
View more
The existing a element
<a>...</a>
Closing tag
</p>
Solution (Click to show/hide)
<h2>CatPhotoApp</h2>
<main>
<p>View more <a href="https://www.freecatphotoapp.com" target="_blank">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>
I just figured it out after a frustrating 30min,
the code was right it was just in the wrong place. Reset the code and then put your begining p element with the “View more” above the anchored element then enclose it below.
so:
normal beginning p element "View more"
anchored element that is there already
enclose the p element
@Muhu6 It may have timed out like @gaboleo91 said try to log out, Clear the code, then try again. I just cleared mine and it’s posted below step by step:
I had the same issue where it was coded right but not taking it. It was fixed after i reset the code and cleared my cache. Worked the first time after doing that.