# Help me please im stuck on a simple one

**URL:** <https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019>\
**Category:** General\
**Created:** [January 31, 2018, 6:42pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019 "2018-01-31T18:42:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessenator](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jessenator](https://forum.freecodecamp.org/u/jessenator)\
**Post date:** [January 31, 2018, 6:42pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/1 "2018-01-31T18:42:08Z")

</div>

**Tell us what’s happening:**

it says to add the margin i do but nothing happens.its probably a silly mistake but please help…

**Your code so far**

```auto
<style>
  .injected-text {
    margin-bottom: -25px;
    text-align: center;
  }

  .box {
    border-style: solid;
    border-color: black;
    border-width: 5px;
    text-align: center;
  }

  .yellow-box {
    background-color: yellow;
    padding: 10px;
  }
  
  .red-box {
    background-color: red;
    margin-top: 40px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-left: 40px;
  }

  .green-box {
    background-color: green;
    margin-top 40px;
    margin-right 20px;
    margin-bottom 20px;
    margin-left 40px;
  }
</style>
<h5 class="injected-text">margin</h5>

<div class="box yellow-box">
  <h5 class="box red-box">padding</h5>
  <h5 class="box green-box">padding</h5>
</div>

```

**Your browser information:**

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

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/add-different-margins-to-each-side-of-an-element](https://www.freecodecamp.org/challenges/add-different-margins-to-each-side-of-an-element)

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 31, 2018, 6:47pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/2 "2018-01-31T18:47:17Z")

</div>

What exactly does the failing test say?

---

<div class="post-metadata">

**Author:** ![jessenator](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jessenator](https://forum.freecodecamp.org/u/jessenator)\
**Post date:** [January 31, 2018, 6:50pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/3 "2018-01-31T18:50:37Z")

</div>

Your green-box class should give the top of elements 40px of margin.  
Your green-box class should give the left of elements 40px of margin.  
Your green-box class should give the right of elements 20px of margin.  
Your green-box class should give the bottom of elements 20px of margin.

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 31, 2018, 6:51pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/4 "2018-01-31T18:51:39Z")

</div>

All of your `green-box` margin lines are missing a `:`

---

<div class="post-metadata">

**Author:** ![jessenator](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jessenator](https://forum.freecodecamp.org/u/jessenator)\
**Post date:** [January 31, 2018, 6:52pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/5 "2018-01-31T18:52:53Z")

</div>

> [@ArielLeslie](#):
>
> a :

il try but where do i add that im very new to this sorry to seem stupid

---

<div class="post-metadata">

**Author:** ![ArielLeslie](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/arielleslie/32/264841_2.png) [@ArielLeslie](https://forum.freecodecamp.org/u/ArielLeslie)\
**Post date:** [January 31, 2018, 6:54pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/6 "2018-01-31T18:54:35Z")

</div>

Look at all of the other lines in class definitions. See how yours are different?

---

<div class="post-metadata">

**Author:** ![jessenator](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jessenator](https://forum.freecodecamp.org/u/jessenator)\
**Post date:** [January 31, 2018, 6:58pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/8 "2018-01-31T18:58:09Z")

</div>

i got it thanks .i feel silly for missing that . you rock

---

<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 16, 2021, 6:05pm UTC](https://forum.freecodecamp.org/t/help-me-please-im-stuck-on-a-simple-one/172019/9 "2021-01-16T18:05:20Z")

</div>


