Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Introduction to HTML and CSS (2016) Adding a New Web Page Write the CSS

for some reason my .h1 in CSS is not communicating that header 1, my name and title, is supposed to be in blue.

when i put in .h1 { color:blue; } it doesnt communicate to the web page to turn my name and title blue. i had to edit the .html file to include <h1 style="color:blue;"> for it to change color.

3 Answers

I am having the same issue with the color not changing. What is the workaround

Hi Marissa,

Could it be that you are trying to make h1 a class by mistake? A class begins with a dot, like .main-image, for example.

Try h1 { color:blue; } and see what happens.

Cheers!

I've tried both without the dot and with the dot, and neither one will change the heading text color. Im pretty sure i linked the CSS file with the HTML file correctly. i did originally name the CSS file with a capital R and my HTML file did not have a capital R, so i changed them to match exactly.

I tried that too. I changed the name by capitalizing the file name and the blue color as you say did not appear for me either. So, from resume.css to Resume.css does not work if the file is saved in the lowercase.

Did changing the capitalization fix the problem for you?

no changing the capitalization did not fix it. I had to stick with the workaround

Ok. At least you have a workaround to help you.

If you post the code you had before the workaround, I can test it on my end. I'll see if I can find a source of the original problem.