Help with html - nesting anchor element within a paragraph

Help with html - nesting anchor element within a paragraph
0

#1

Hi, I’m new to freecodecamp. I’ve just started with the html basics and am stuck at an objective. I feel like I’ve done it right but I can’t seem to pass the objective. Could someone please take a look at the screenshot attached and let me know where I am going wrong? The objective is to wrap an anchor element within a paragraph. I feel like I’ve done it right and am unable to see where I am going wrong. I have highlighted my code for convenience. Thank you.


#2

Try deleting the space before the word “cat”. Also, check that the URL you’re using in the link is right…


#3

Deleted the space and checked the url as you’ve said but it doesn’t seem to fix it. Any other ideas? Thanks!


#4

In the example code you have the paragraph twice — you only need the paragraph with the link once (at the top). That might be confusing things.


#5

I did notice it and I have deleted the paragraph at the bottom. But it still remains unresolved.


#6

Can you copy and paste your code how it is now? (Use the code icon — 6th button — in the toolbar above where you type to format it.)


#7

The code at the top where you are completing the objectives right after the main tag is formatted correctly but you have the wrong href. Yours says “freecodecamp.org” when it should say “freecatphotoapp.com


#8

It’s ok, that’s solved now, thank you for your help!


#9

That is it!! Thanks!


#10

No problem, be sure to mark the answer if you don’t mind!


#11

Lol. I did say to check the link…


#13

hahaha I thought you meant to check if the link was valid…:sweat_smile:


#14

That has been done :slight_smile:


#15

I am still struggling with the same. Kindly help!


#16

If you click “ask for help” on the challenge it’ll post your code in a new post. We need to see your code to help.