Javascript cat pictures

Javascript cat pictures
0.0 0

#1

Tell us what’s happening:

Hi guys, can somebody help me? I am now unfortunately stuck at the “Your image should have a src attribute that points to the kitten image.” phase although I have been going back and forth checking the codes… This is the codes been made so far, and its been more than an hour I look at this very code page with nothing to figure out. Can somebody else help me telling me which part I did mistaken? Thanks very much guys!

Your code so far

<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>
<img src="https://s3.amazonaws.com/freecodecamp/relaxing-cat.jpg" alt="The cute kitten looking up hella cute">
<div class="h2">
<h2 class="red-text">CatPhotoApp</h2>
</div>
<div class="p">
<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>
</div>```
**Your browser information:**

Your Browser User Agent is: ```Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36```.

**Link to the challenge:**
https://www.freecodecamp.org/challenges/add-images-to-your-website

#2

provide the link to the challenge.


#3

How do you do that providing the link? Was it this one?


#4

Dude you code is fine except one thing .and that is You should have made a new <img> tag but instead you just pasted the same img link from the example.
Take a look at this section on the challenge page. They want you to use this new image link not the one they used in example.

Try it with this image:

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

so we just do what it says :

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

Thats why always read the challenge properly before implementing the code man. have patience.These are really easy ones.


#5

Dude thank you.
Dang it! Hope you have a nice life ahead. <3


#6

seems like I might face upon other difficulties just because my impatience. ;A;//
Couldnt thank enough for the heads up.


#7

Its okey man. I feel ya. i’ve been there. thats why im saying to read the instructions properly . I know how it is. Again its just the html section. very easy to follow. But when you will hit the JS data structure and algorithm section. You will be in a rut if you dont prepare for that now.It will take days to figure out just one algorithm and and then patience will be your best friend. I finished all the algorithms , and most of the time i found my algo wrong when i didn’t read the instructions and analyze the examples. so im telling you to do so. Brace yourself the hard ones are on your way. :metal:
Good luck