Add Borders Around your Elements help me

Tell us what’s happening:

Your code so far

  <body>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .smaller-image {
    width: 100px;
  }
</style>

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

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

<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>
  </body>
</html>```
**Your browser information:**

Your Browser User Agent is: ```Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0```.

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

The H1 and img elements have a class declared like : class1 / class2… I don’t think thats work, but i can be wrong. And the thick-green-border class don’t are declared in any one of the elements…maybe is that the issue

Well , hope help you :smile:

1 Like