Tell us what’s happening:
im very confused could you guys help me out
Your code so far
<p>Veiw more <a target="_blank" heref="htts://freecat photoapp.com"
<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>
**Your browser information:**
User Agent is:
Mozilla/5.0 (X11; CrOS x86_64 13597.105.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.208 Safari/537.36.
Challenge: Nest an Anchor Element within a Paragraph
Link to the challenge:
Well, among other things, you have multiple spelling mistakes: Veiw, heref, htts. Nothing is going to work if you don’t clean that up.
I would recommend hitting the Rest Code button and starting fresh.
You’re not the first person to get tripped up on this challenge. Is there something specific that is confusing you?
you write “href” and not “heref” and not let a gap within your URL .So instead of “freecat photapp.com”, write it all together like this : “https://freecatphotoapp.com”
I would also add that we need to " Nest the existing
a element within a new
So, if our old anchor was:
<a ...>link text</a>
Then we are wanting to “nest” or “wrap” that in a
p element, like:
<p><a ...>link text</a></p>
Then we just need the other (non-link) text:
<p>Some other text that is not the link <a ...>link text</a></p>
That is the basic idea of what you are doing. you need to change that text and make sure that the
a has the right attributes, but that’s the basic idea.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.