Just read the question again. The question wants you to turn the image into a link, which means, once you click the image, it will go to a new page. So what we did in the former steps? We used
<a href="somelink">a sentence or a word</a>
right? Try to change the inner part as the image, and see what you got.
Hey I am really sorry. Your suggestions were pretty good. What I meant to say was I have formatted your code because it lacked formatting.
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.
Hi, I’m stuck on step 15. I’ve just copied the code from this post after getting stuck and that doesn’t work. I get the message ’ Your anchor (a ) element should have an opening tag. Opening tags have this syntax: <elementName> .
Here is what I put:
<img src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg” alt=“A cute orange cat lying on its back.”
Thanks.
Hey! Please create your own topic when you have specific questions about your own challenge code. Only respond to another thread when you want to provide help to the original poster of the other thread or have follow up questions concerning other replies given to the original poster.
The easiest way to create a topic for help with your own solution is to click the Ask for Help button located on each challenge. This will automatically import your code in a readable format and pull in the challenge url while still allowing you to ask any question about the challenge or your code.
I’ve edited your code for readability. 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.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.