Adding an image is confusing

Im lost I cant seem to add an image, even aftyer watching the video

Your code so far


<h2>CatPhotoApp</h2>

<main> 
imgsrc=https://bit.ly/fcc-relaxing-cat alt cat relaxing</>

</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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15.

Challenge: Add Images to Your Website

Link to the challenge:

hey there it should be

<img src="url">

so must have. src= " url" ?
or…src=url>

im so NEW
I apologize if its a dumb question

Did you see the example?

An example of this would be:
<img src="https://www.your-image-source.com/your-image.jpg">

I tried it it did not work

what’s your code so far

so dont type url?
i pasted the example given in the lesson

paste the url given in the challenge

No, the challenge has the url you need to use:

Let’s try to add an image to our website:

Within the existing main element, insert an img element before the existing p elements.

Now set the src attribute so that it points to this url:

https://bit.ly/fcc-relaxing-cat

Finally, don’t forget to give your img element an alt attribute with applicable text.

@tattootim Please do not create duplicate topics for the same challenge/project question(s).

Please, keep your questions in this thread, I have closed the other two threads.

Im very sorry, I was trying to continue with the thread but it kept asking for the topic.
I

@tattootim no problem. Just post your updated code in this thread so we can see what you have so far.


Here is how to make sure you format the code correctly:

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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

Put your img in opening & closing brackets and close the main with

A cute orange cat lying on its back.

try this code A cute orange cat lying on its back.

It’s great that you know how to do this challenge, but giving people answers does not help them understand how to complete the challenges on their own the next time they need to do a similar task.

ok I just joined freecodecamp

Have you tried to do it through <img.>?

thats a good Idea :+1: