Src attribut creation

Tell us what’s happening:
Describe your issue in detail here.
jarrive pas mettre un src qui point vers un atribut

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<img src=" https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"alt="A business cat wearing a necktie.">
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="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/96.0.4664.45 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Hi @nelly.shop26 !

Welcome to the forum!

You are only supposed to have one image on the page.
Not two.

Delete the top one

1 Like

salut
jai supprimer le premier et il me demande toujours un src qui point vers un attribut

Can you show us your new code so we can see what is going on?

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

https://www.freecodecamp.org/learn/responsive-web-design/basic-html-and-html5/add-images-to-your-website

<img src="https://www.freecatphotoapp.com/your-image.jpg" alt="A business cat wearing a necktie.">

Why did you change the image url?

You are using the incorrect image url.

Go back to your original code and use the correct image url

Hope that clarifies

Also, when I said to delete the top one I was referring to the first img tag you had here

Hopefully that clears up the confusion!

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