The instructions aren’t asked for separate anything. Instructions is asking you to make the existing text cute cats into a clickable link using anchor opening and closing tags. In one of the previous challenge step, you learned that how to add an anchor element.
Reset the challenge step and try again
Hey there!
To put a text inside an anchor tag, you need two things: the text and a url. Here’s an example of turning the word Coder into a link:
<a href="www.myurl.com">Coder</a>
As you can see, we are not putting the word “Coder” inside the href attribute.
This step requires you to use an anchor element and turn the text “cute cats” into a link. I think they’ve also provided a url in the instructions.
Hope this helps!
I got it right but now it says there should be a new anchor element in the first p element.
I’ve tried doing what i think it said but i think im doing smth wrong
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
What you need to do is turn the word “cute cats” into a link. right now your code has some problems. first is using the anchor tags <a></a>. If you look closely, you can see that your tags arent written in the correct way.
As I mentioned earlier, an anchor element looks like this:
<a href="www.url.com" >your text</a>
What you’ve done is add the text “cute cats” inside the href attribute, which is incorrect. You need to add a url ( provided in the instructions ) inside the href. and your text “cute cats” goes between the opening and closing anchor tags. Now try step by step to change those words into a link. I would suggest you reset your code and start with the original code.
Good luck!