# Add Borders Around your Elements 1

**URL:** <https://forum.freecodecamp.org/t/add-borders-around-your-elements-1/163677>\
**Category:** General\
**Created:** [December 14, 2017, 2:26am UTC](https://forum.freecodecamp.org/t/add-borders-around-your-elements-1/163677 "2017-12-14T02:26:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidforsberg](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@davidforsberg](https://forum.freecodecamp.org/u/davidforsberg)\
**Post date:** [December 14, 2017, 2:26am UTC](https://forum.freecodecamp.org/t/add-borders-around-your-elements-1/163677/1 "2017-12-14T02:26:02Z")

</div>

**Tell us what’s happening:**  
What’s my mistake?

**Your code so far**

```auto
<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-size: 10px;
    border-style: solid;
  }
</style>

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

<img class="smaller-image thick-green-border" 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/62.0.3202.94 Safari/537.36`.

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

---

<div class="post-metadata">

**Author:** ![Marmiz](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/marmiz/32/74845_2.png) [@Marmiz](https://forum.freecodecamp.org/u/Marmiz)\
**Post date:** [December 14, 2017, 2:51am UTC](https://forum.freecodecamp.org/t/add-borders-around-your-elements-1/163677/2 "2017-12-14T02:51:09Z")

</div>

> [@davidforsberg](#):
>
> border-size: 10px;

Are you sure you don’t mean:

```auto
border-width: 10px

```

🙂

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:32pm UTC](https://forum.freecodecamp.org/t/add-borders-around-your-elements-1/163677/3 "2021-01-17T20:32:16Z")

</div>


