Revised code still cannot pass challange

**Tell us what’s happening:**cannot complete challange

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://bit.ly/fcc-relaxing-cat" alt="point toward cats">
<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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36.

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

I would suggest to reset your code in the code editor and type in your code again.

Also don’t forget to close your img tags at the end, like this:

<img src="https://www.your-image-source.com/your-image.jpg" alt="your description here" />

i have reset it twice. i dont think im even in the ballpark of understang this challange. but i will reset it again

Let’s break it down:

All html elements can have attributes.

These attributes look like key=value pairs.

So for example, in the <img> element we can set the source of the image with the src attribute: src='http://path.to.image.com'

A really important attribute is class. On it’s own, class does nothing, but when you have a style rule that depends on that class, like .smaller-image (note, the . means class in a css stylesheet), it can change the style of that element.

Elements can have many attributes so it’s not uncommon to see something like this:

<img class='special-style-rule' src='/image.png' alt='a picture' />'

See if you can piece all that together to pass your challenge.

Note: I just realised I posted this in the wrong thread - but it should help you pass them both anyway.

i know that my css code goes between the style tags ive tried doing that and it doesnt . i think i have html and css code. but cant html or css to work

this is what ive come uo with. been on this challange 2 days.

<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

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

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

<img src="https://bit.ly/fcc-relaxing-cat".width:100px; alt="A cute orange cat lying on its back. ">```

I tested your original code posted 2 days ago and your most recent code and both pass the tests.