Need help with adding images html challenge

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://www.freecattoapp.com/your-image.jpg" 
<img src="alt=https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie."A business cat wearing a necktie."/>
<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/97.0.4692.99 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

It looks like you accidentally submitted your post before you were ready.

After doing the steps given, it tell me " Your image should have a src attribute that points to the kitten image."

  1. Why do you have two image tags?
  2. This image tag is incomplete: <img src="https://www.freecattoapp.com/your-image.jpg"
  3. Your two image tags do not have the same source url.
  4. Are you sure you’re using the correct url? “your-image.jpg” looks like an example string.
1 Like

ok, first off, you might want to just reset your problem.
Then, lets look at the question:
Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

that means, your solution will need the URL that it’s asking for.

Thank you so much. it worked

<a href="#footer"<jump to bottom>/a>

<h2 id="footer">footer/>

where am i going wrong in this one please

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 (’).

Both of those are invalid tags. You have missing and misplaced > and <s.

Mod Edit: SOLUTION REDACTED

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.

Hi @vahidmato !

Since you are asking for help with a new challenge, I would suggest you open a new topic with your code and the challenge link.
You can use the ask for help button to do that.

Thanks!

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