Borders in elements

Can you help me? Because i didn’t know how to do it

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;
  }

  .smaller-image {
    width: 100px;
  }
  
  thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;

}
</style>

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

<img class="smaller-image" src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back. ">

<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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36.

Link to the challenge:
https://www.freecodecamp.org/challenges/add-borders-around-your-elements

  .smaller-image {
    width: 100px;
  }
  
  thick-green-border {
border-color: green;
border-width: 10px;
border-style: solid;

}

do you see how the first CSS is a class, and the second isn’t? whats missing? (the second is a html element, not a class)

I do it but it doesn’t apper something it tell me it’s wrong.

yes, it is, it should be referring to a class selector ( “.CLASS” ) not a html selector ( h2, body, p ) you forgot the “.”

Can you send me a photo how do you do it? I’m sorry for all of this questions but because i’m first i want to learn about the programming.