I’m only a couple of lessons in, but I’m on a lesson where I have to nest my “a” element within a “p” element and run test seems like it is incorrectly testing my code as it’s telling me “Your a element should be nested within your new p element.”
The instructions for the lesson are:
“Now nest your existing a element within a new p element (just after the existing main element). The new paragraph should have text that says “View more cat photos”, where “cat photos” is a link, and the rest of the text is plain text.”
Is the following code not doing exactly that?
<h2>CatPhotoApp</h2>
<main>
<p>
View more <a target="_blank" href="">cat photos</a>
</p>
<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>
</main>
If I remove the second “a” element, run tests gets angry at me. Not really sure what more it wants out of me.
EDIT: I should also ask while I’m here, is it possible to skip lessons when this sort of situation arises?
Thank you!