# Help with Code issue

**URL:** https://forum.code.org/t/help-with-code-issue/38329
**Category:** CS Discoveries
**Tags:** csd-unit-2
**Created:** [September 1, 2023, 6:05pm UTC](https://forum.code.org/t/help-with-code-issue/38329 "2023-09-01T18:05:49Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rdiaz1](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rdiaz1/32/9589_2.png) [@rdiaz1](https://forum.code.org/u/rdiaz1)
#### Post date: [September 1, 2023, 6:05pm UTC](https://forum.code.org/t/help-with-code-issue/38329/1 "2023-09-01T18:05:49Z")

</div>

My student is working on Unit 2 Lesson 6 Mod 11 and wrote this code.

body {  
background: white;  
}

h2 {  
color: #f42b2b;  
}

He is tried using just “red” will not change the color. Yes he even refresh the page and still did not work. What am I missing?

---

<div class="post-metadata">

### Author: ![paul.rallion](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/paul.rallion/32/7218_2.png) [@paul.rallion](https://forum.code.org/u/paul.rallion)
#### Post date: [September 1, 2023, 6:32pm UTC](https://forum.code.org/t/help-with-code-issue/38329/2 "2023-09-01T18:32:21Z")

</div>

Hi rdiaz1,  
It worked for me when I tried it.  
May we have a look at the index.html file?  
Paul

 ![Screenshot 2023-09-01 at 11.28.57](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/4/466e118a094ebb103054a14a9b2527fdabaea5af.png)

---

<div class="post-metadata">

### Author: ![rdiaz1](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rdiaz1/32/9589_2.png) [@rdiaz1](https://forum.code.org/u/rdiaz1)
#### Post date: [September 1, 2023, 7:13pm UTC](https://forum.code.org/t/help-with-code-issue/38329/3 "2023-09-01T19:13:50Z")

</div>

Here is the code for the index.html file.

 ![Image description]()
## And how to be honest
  

#### Learning to be honest
  
- Try to be honest and if you lie just correct yourself.
- Do the right thing.
- You're done!

#### Values
- It can help you be a better person.
- It helps you to lie less.

---

<div class="post-metadata">

### Author: ![paul.rallion](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/paul.rallion/32/7218_2.png) [@paul.rallion](https://forum.code.org/u/paul.rallion)
#### Post date: [September 1, 2023, 7:41pm UTC](https://forum.code.org/t/help-with-code-issue/38329/4 "2023-09-01T19:41:28Z")

</div>

How about the section in the red oval?

 ![Screenshot 2023-09-01 at 12.38.47](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/b/b0f0e8ee0f06f1308e6c3378eb65d5d0a8f1f619.png)

---

<div class="post-metadata">

### Author: ![rdiaz1](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rdiaz1/32/9589_2.png) [@rdiaz1](https://forum.code.org/u/rdiaz1)
#### Post date: [September 1, 2023, 8:04pm UTC](https://forum.code.org/t/help-with-code-issue/38329/5 "2023-09-01T20:04:33Z")

</div>

Sorry, somehow the code did not get pasted to the email.

Here is a screen shot of the index:

 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/d/da6ed7d7d0b7fa9a9af84cf6c7d2bf6117ab3aee.png)

Here is a screen shot of the css

 ![](https://us1.discourse-cdn.com/flex016/uploads/codeorgforum/original/2X/c/c9bd8943f68a1e1eecda10d7d8b39a63d387463e.png)

---

<div class="post-metadata">

### Author: ![paul.rallion](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/paul.rallion/32/7218_2.png) [@paul.rallion](https://forum.code.org/u/paul.rallion)
#### Post date: [September 1, 2023, 8:43pm UTC](https://forum.code.org/t/help-with-code-issue/38329/6 "2023-09-01T20:43:36Z")

</div>

Ok, here is the bug. Either:  
a) rename your .css file to style.css (on the list of files), OR  
b) index.html line 4: change style.css to new.css.  
In other words, your css file name has to match in both places.  
I hope that helps,  
Paul

---

<div class="post-metadata">

### Author: ![rdiaz1](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/rdiaz1/32/9589_2.png) [@rdiaz1](https://forum.code.org/u/rdiaz1)
#### Post date: [September 1, 2023, 9:41pm UTC](https://forum.code.org/t/help-with-code-issue/38329/7 "2023-09-01T21:41:53Z")

</div>

Thank you, I completely miss that.
