# \[SOLVED\] Change the Color of Text,i have been stuck for two weeks ,somebody please

**URL:** <https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419>\
**Category:** General\
**Created:** [January 13, 2018, 1:40am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419 "2018-01-13T01:40:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter1000](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/peter1000/32/244259_2.png) [@peter1000](https://forum.freecodecamp.org/u/peter1000)\
**Post date:** [January 13, 2018, 1:40am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/1 "2018-01-13T01:40:15Z")

</div>

**Tell us what’s happening:**

**Your code so far**

```auto
<h2>CatPhotoApp</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; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; InfoPath.2; rv:11.0) like Gecko`.

**Link to the challenge:**  
[https://www.freecodecamp.org/challenges/change-the-color-of-text](https://www.freecodecamp.org/challenges/change-the-color-of-text)

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [January 13, 2018, 1:44am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/2 "2018-01-13T01:44:47Z")

</div>

Have you tried this bit from the instructions:

> Here’s how you would set your h2 element’s text color to blue:
> 
> ```auto
> <h2 style="color: blue">CatPhotoApp</h2>
> 
> ```

Once you’ve done that, passing the challenge should be straightforward.

---

<div class="post-metadata">

**Author:** ![peter1000](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/peter1000/32/244259_2.png) [@peter1000](https://forum.freecodecamp.org/u/peter1000)\
**Post date:** [January 13, 2018, 1:48am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/3 "2018-01-13T01:48:21Z")

</div>

i have tried but still stuck, won’t give up

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [January 13, 2018, 1:52am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/4 "2018-01-13T01:52:32Z")

</div>

I think you misunderstood the instructions a bit. The bit of code there is an example. The goal is to make the heading red, not blue.

---

<div class="post-metadata">

**Author:** ![peter1000](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/peter1000/32/244259_2.png) [@peter1000](https://forum.freecodecamp.org/u/peter1000)\
**Post date:** [January 13, 2018, 1:55am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/5 "2018-01-13T01:55:38Z")

</div>

sorry I don’t get you buddy, what do I code in

---

<div class="post-metadata">

**Author:** ![kevcomedia](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevcomedia/32/125737_2.png) [@kevcomedia](https://forum.freecodecamp.org/u/kevcomedia)\
**Post date:** [January 13, 2018, 2:09am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/6 "2018-01-13T02:09:14Z")

</div>

The code example in the instructions show you how you can change the color of an element. It shows how to change a heading’s color to blue. What the challenge wants you to do is to change the heading’s color to red (refer to the test at the bottom left).

---

<div class="post-metadata">

**Author:** ![peter1000](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/peter1000/32/244259_2.png) [@peter1000](https://forum.freecodecamp.org/u/peter1000)\
**Post date:** [January 13, 2018, 2:15am UTC](https://forum.freecodecamp.org/t/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/7 "2018-01-13T02:15:46Z")

</div>

ok thanks,should I replace ‘‘blue’’ to ‘‘red’’ or why am not I phase with you,thanks once more

---

<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/solved-change-the-color-of-text-i-have-been-stuck-for-two-weeks-somebody-please/168419/8 "2021-01-17T20:30:33Z")

</div>

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


