what is wrong ?
Try this code⌠It works for meâŚ
CatPhotoApp
View more cat photos
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
Can you give the link to the challenge?
hi Mahmmoud
you just need to follow the instructions without adding anything extra.
(It looks like you added an extra <br>
?)
but i shold but my new code in the bottom of the page !
Hi mahmmoud,
You need not add new anchor tag in your tag just copy the anchor tag at top in paragraph tag at bottom.
Format should be like:
<main>
<p>
<a></a>
</p>
<img>
<p></p>
<p></p>
</main>
This should be fine.
Hope it helps.
sorry my last post was incorrect
actually the instructions say:
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.
can you post your latest code?
Did you remove the <br>
tag and retry?
Sorry for that.
Even though that helps you pass but the structure i mentioned is incorrect.
thank u my friend
you have put 2 anchor tags just put only one.
And first one is not even closed.
letâs work through the instructions one step at a time
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.
1- nest existing <a>
element within a new <p>
element
I see you have a new <p>
element added just after the <main>
element so that is a good step forward.
Did you also add the closing tag <\p>
? I donât see it in the correct place. It should be after the first link for âcat photosâ.
2- 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.
I see you have cat photos is a link. So that looks good.
I see you have added the text âView moreâ to the paragraph. Good work.
However, I also see this <a >
has been added. This one seems wrong?
It doesnât match the instructions provided, so delete that one.