Add Images to your Website, Source Attribute

Add Images to your Website, Source Attribute
0.0 0

#1

Hey there. I can’t solve this problem.
Your image should have a src attribute that points to the kitten image.

Your code so far

<img src="https://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg" 
alt="relaxing cat. ">


<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>

<p class="red-text">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 class="red-text">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:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3300.190 Safari/537.36.

Link to the challenge:


#2

Your code is cut off at the top. There should be something like:

<img src="https://www.imgurl.com/img.jpg" alt="alt text">

Just replace the src, put a meaningful alt and put it in your code.


#3

IC, I just needed to edit your code to see it properly. The three backticks must get their own line.

Your src url is wrong. When I change it to the one given in the problem, it passes.