# Style Multiple Elements with a CSS Class help

**URL:** <https://forum.freecodecamp.org/t/style-multiple-elements-with-a-css-class-help/167243>\
**Category:** General\
**Created:** [January 7, 2018, 3:14am UTC](https://forum.freecodecamp.org/t/style-multiple-elements-with-a-css-class-help/167243 "2018-01-07T03:14:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![djsquish](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@djsquish](https://forum.freecodecamp.org/u/djsquish)\
**Post date:** [January 7, 2018, 3:14am UTC](https://forum.freecodecamp.org/t/style-multiple-elements-with-a-css-class-help/167243/1 "2018-01-07T03:14:58Z")

</div>

**Tell us what’s happening:**  
I’m having difficultly to understand how to follow the directions the the program. On the 14 tutorial the directions are hard to follow. Can someone help me?

**Your code so far**

```auto
<style>
  .red-text {
    color: red;
  }
</style>

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

<p> class"red=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.1; 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/style-multiple-elements-with-a-css-class](https://www.freecodecamp.org/challenges/style-multiple-elements-with-a-css-class)

---

<div class="post-metadata">

**Author:** ![n\_haniph](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/n_haniph/32/72750_2.png) [@n\_haniph](https://forum.freecodecamp.org/u/n_haniph)\
**Post date:** [January 7, 2018, 3:57am UTC](https://forum.freecodecamp.org/t/style-multiple-elements-with-a-css-class-help/167243/2 "2018-01-07T03:57:09Z")

</div>

You have a slight typo with your code in your HTML. It should be  
`<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>`

---

<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:31pm UTC](https://forum.freecodecamp.org/t/style-multiple-elements-with-a-css-class-help/167243/3 "2021-01-17T20:31:26Z")

</div>

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


