Segun1
April 3, 2020, 9:07pm
1
**Tell us what’s happening:**i did the code right but it’s not running
Your code so far
<h2>CatPhotoApp</h2>
<main>
<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>
<p>
"View more"
<a> href="http://freecatphotoapp.com">cat photos</a>
</p>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
.
Challenge: Nest an Anchor Element within a Paragraph
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
flamey
April 3, 2020, 9:14pm
2
To nest means to “place within”
1 Like
Roma
April 3, 2020, 9:30pm
4
Reset your code and start over. Pay attention the what it asks you to do.
From the lesson, " nest the existing a
element within a new p
element (just after the existing main
element)"
You started after the closing main element and created a new a
element instead of using the existing one.
Hope that helps.
1 Like
flamey
April 3, 2020, 9:33pm
5
@Roma i think @Segun1 has not indented the nested element
correct me if im wrong
1 Like
Roma
April 3, 2020, 10:09pm
6
The tests do not care about indentation.
1 Like
flamey
April 3, 2020, 10:22pm
7
Thank you for your feedback
Segun1
April 4, 2020, 6:05pm
8
Yeah, thanks a lot. I have gotten it.