# New to coding need some help

**URL:** <https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543>\
**Category:** General\
**Created:** [January 8, 2018, 4:54pm UTC](https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543 "2018-01-08T16:54:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sam1](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@sam1](https://forum.freecodecamp.org/u/sam1)\
**Post date:** [January 8, 2018, 4:54pm UTC](https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543/1 "2018-01-08T16:54:35Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```auto
</style>
<h2> red-text {
    color: .red;
  } 
    </h2>
<p>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>

```

**Your browser information:**

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

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/use-a-css-class-to-style-an-element](https://www.freecodecamp.org/challenges/use-a-css-class-to-style-an-element)

---

<div class="post-metadata">

**Author:** ![anon52159105](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@anon52159105](https://forum.freecodecamp.org/u/anon52159105)\
**Post date:** [January 8, 2018, 4:56pm UTC](https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543/3 "2018-01-08T16:56:26Z")

</div>

> [@sam1](#):
>
> Learn to code with free online courses, programming projects, and interview…

You have not applied a class to the `<p>` element. You can assign a class like `<p class="mySuperCoolClassNameHere">` knowing this try assigning the class name again and let us know if you need further help 🙂

---

<div class="post-metadata">

**Author:** ![amarachan](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amarachan/32/81700_2.png) [@amarachan](https://forum.freecodecamp.org/u/amarachan)\
**Post date:** [January 8, 2018, 5:03pm UTC](https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543/4 "2018-01-08T17:03:00Z")

</div>

hi sam1 i have corrected the syntax now you will get the correct output now without errors check it out below 😀

![Selection_002](https://global.discourse-cdn.com/freecodecamp/original/3X/5/7/57956d60044f4518b9150471650fe7bd990cdaac.png)

---

<div class="post-metadata">

**Author:** ![amarachan](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amarachan/32/81700_2.png) [@amarachan](https://forum.freecodecamp.org/u/amarachan)\
**Post date:** [January 8, 2018, 5:45pm UTC](https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543/6 "2018-01-08T17:45:41Z")

</div>

hi sam1 i you have to correct your syntax 😁  
you need to a put the red-text class inside the CSS(that is in between the style elements not outside it or)

---

<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:30pm UTC](https://forum.freecodecamp.org/t/new-to-coding-need-some-help/167543/7 "2021-01-17T20:30:52Z")

</div>

Closed on January 17, 2021, 8:30pm UTC


