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

Jack Steptoe
Jack Steptoe
8,235 Points

Issue linking between HTML & CSS

Hi,

I think I have an issue with my HTML as it does appear to be linking with the CSS. When I try to change the colour to blue (or any other colour) it will not change. Please help!

Jack Steptoe
Jack Steptoe
8,235 Points

HTML: <!DOCTYPE html> <html> <head> <title>Jack Steptoe's Resume</title> <link rel="stylesheet" href="resume.css" </head> <body> <img src="http://placeimg.com/200/200/people" alt="Jack Steptoe, Web Dev" <h1>Jack Steptoe, Web developer</h1> <h2>Summary of Qualifications</h2> <ul> <li>Expierance as a freelace web developer.</li> <li>Knowledge of HTML, CC and JavaScript</li> <li>Master of Science, Mathmatics</li> </ul> </body> </html>

CSS: h1{ color: blue; }

3 Answers

Seems like your missing the closing bracket (">") at the end of the CSS file link. <link rel="stylesheet" href="resume.css" <---- missing closing bracket.

Jack Steptoe
Jack Steptoe
8,235 Points

Doh! Thank you so much.

Sean Gibson
Sean Gibson
38,363 Points

I was having the same problem. I eventually worked out that I had edited the name of the file before, and I guess that somehow broke the link, even though the code was written properly. To fix it, I just copied the code, deleted the html and css sheets, created new ones and pasted the code. That did the trick for me.

this did the trick for me! thank you ~

<!DOCTYPE html> <html> <head> <title>Sean Hooker's Resume</title> <link rel="stylesheet" href="resume/resume.css"> </head> <body> h1 { color: blue; }

This is what I have and its still not linking...?? any sugestions?