Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
I am being told I dont have an Src after my image. What am I doing wrong?
<img src="https://www.freecatphotoapp.com/your-image.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>
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.31 Safari/537.36
Challenge: Add Images to Your Website
Link to the challenge:
You forget to close the img tag. Since img is an self closing element so you need to close without an opening-closing tag. The below code is right.
<img src="https://www.freecatphotoapp.com/your-image.jpg" alt= "A business cat wearing a necktie." />
I tried to copy your code and it run perfectly on my device. Can you send a screenshot about the error.
Make sure ur browser screen is at 100%, dark mode is disabled and you don’t have any extensions disturbing the freeCodeCamp website
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 (’).
Hi @alexdeitering !
Welcome to the forum!
You are using the incorrect url here
Here is the correct url from the instructions
Now set the
src attribute so that it points to the url
When I use the correct url then the test passes for me.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.