The preview works but it says I don’t have the closing anchor.
<p>Click here to view more cat photos.</p>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."</a>
Hi, please when you post your question, provide it with a specific question.
Asking a better question will help you understand your current situation.
Hi Mick, welcome to the forum.
Can you post all the lines of code here?
Hi, thanks for the response. Essentially it is step 14, the task is to attach the link to an image, which in the preview window is exactly whats happening with this code, but then it gives me an error when I try to submit.
" Your anchor (
a ) element should have an opening tag. Opening tags have this syntax:
I cannot see the entirely of your code above but what you have looks okay to me.
I suggest that you restart the step and redo the specific change (or copy and paste it from here).
If that doesn’t work for you, please post the full code (first line to the end) here in this thread in case there is something else to see that could be the cause of an error.
Hmmm quite strange, I tried your code and seems it does not work somehow.
Try to restart the step and redo it.
I just try that by myself and somehow it works.