Error shown saying that image should have src, even after adding src to the image, but don't know where I went wrong

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<img src="https://www.freecatphotoapp.com/relaxing-cat.jpg" alt ="Relaxing cat">
<img src="https://cdn.freecodecamp.org/cirriculum/cat-photo-app/relaxing-cat.jpg" alt ="Relaxing cat">
</img>

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

HI @hsk_15 !

Welcome to the forum!

This issue is that you have two image tags on the page.
You are only supposed to have one.

Reset the lesson and only add the image tag with the src attribute pointing to the correct cdn link.

Hope that helps!

Here is the correct cdn link from the directions.
Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Hi Jwilkins!
Thanks but it is still showing the same error. I gave cdn link alone

<img src="https://cdn.freecodecamp.org/cirriculum/cat-photo-app/relaxing-cat.jpg" alt ="Relaxing cat">
</img>

this is what i gave and its still showing me the same error.

Your link is still wrong.

Two issues.
No.1: This is not how you spell curriculum

No.2: img tags do not have closing tags.
This is incorrect

You need to use the correct cdn link with everything spelled correctly for the tests to pass.

Hope that helps!

I’ve edited your post 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.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

It worked. It was the spelling. Thanks again for helping out. And I will surely follow the process of entering the code into a forum as you said. Thanks!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.