<p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg" target="\_blank">cute cats</a> online!</p>
What is wrong with my code here? It keeps telling me I don’t have a target attribute in the “a href” tag.
ILM
March 3, 2026, 9:40pm
2
I’ve edited your post to improve the readability of the code. When you enter a code block into a forum post, please precede it with three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add the backticks.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
ILM
March 3, 2026, 9:41pm
3
can you please provide the link to the challenge?
could it be that there are other elements to which you need to add the target attribute?
Oops here is the code in question.
Everyone loves cute cats online!
ILM
March 3, 2026, 9:51pm
5
please format the code properly, otherwise the html elements are not shown
can you please provide the link to this step?
Never mind. I figured it out.