Please help. I can't seem to find the correct code

Tell us what’s happening:

Your code so far


<img src="https://bit.Iy/fcc-relaxing-cat"alt="fcc-relaxing-cat"

<h2>CatPhotoshopApp</h2>
<main>
<p>Kitty Ipsum dolor</p>
<p> Purr jump eat</p>
</main>
<!---

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; SM-G920F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hi,

There is a little typo!

You use bit.Iy instead of bit.ly

1 Like

Thanks ,my src is. Red and my alt

Tell us what’s happening:

Your code so far


<img src="https://bit.ly/fcc-relaxing-cat/your-image.jpg>" alt="relaxing-cat>"
<h2>CatPhotoshopApp</h2>
<main>
<p>Kitty Ipsum dolor</p>
<p> Purr jump eat</p>
</main>
<!---

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; SM-G920F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hi nightredfern2.0!
Take a look at the src attribute in your image. There’s a little typo. See if you can spot it yourself :slight_smile:

Ok I understand I’ll check

Tell us what’s happening:

Your code so far


<img src="https://bit.ly/fcc-relaxing-cat/your-image.jpg>" alt="relaxing-cat>"
<h2>CatPhotoshopApp</h2>
<main>
<p>Kitty Ipsum dolor</p>
<p> Purr jump eat</p>
</main>
<!---

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 7.0; SM-G920F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.181 Mobile Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

Hi again!
There’s a little typo in your src="___" attribute. Perhaps copy the src-link from the challenge text again and see if that fixes it.

Otherwise you could perhaps check letter-by-letter by comparing it to the link in the challenge text?

1 Like

I’m having trouble copying it

Okay.
In your URL there is one character that is not supposed to be there.
It’s almost as it should be - just one single character is out of place. The character is within the string (between the two " ").

I copied it and a picture of cat with a tie was there. And when I add bit.ly etc . Nothing happen why. Also I looked for the character and no such luck. I tried removing characters but no dice

hello @nightredfern2.0,
You need to provide to your “img” tag a correct link of the photo you want to display. What you add to your “src” attribute should be as it’s provided by the challenge. No change to the link should be made. Hope this help!

They (img tags) should look like this:
A relax cat:

  <img src="https://bit.ly/fcc-relaxing-cat" alt="a cat">

Or a cat with tie:

  <img src="https://www.freecatphotoapp.com/your-image.jpg" alt="a cat with tie">

We can consider the link we put in “src” attribute is key to open the folder where your image is stored.
You can’t use key number 1 to open folder number 2. Or for example if you have 2 keys, but you want to open folder number 3 (the third one) which doesn’t exist.
So that we can’t modify the link of the picture.

Thank you thank you so much it worked

You are welcome, I’m learning too. Have fun on your journey!

Thanks same to you.:blush::blush::blush::blush::blush::blush::blush::blush::blush::blush:

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