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 trialAlexis Hay
Front End Web Development Techdegree Student 8,693 PointsLinking CSS to HTML trouble
Hello,
I seem to be stuck linking the CSS to HTML. I have the files in the same folder and I checked it for mistakes. For some reason the <h1> is not turning blue. I figured two eyes are better than one when spotting this silly bug. Thank you!
resume.html code: <!DOCTYPE html> <html> <head> <title>Alexis Hay's Resume</title> <link rel="stylesheet" href"resume.css"> </head> <body> <img src="http://placeimg.com/200/200/tech" atl="Alexis Hay, Web Developer"> <h1>Alexis Hay, Web Developer</h1> <h2>Summary of Qualifications</h2> <ul> <li>Experience with HTML, CSS, and JavaScript</li> <li>Bachelor of Science, Criminal Justice</li> </ul> </body> </html>
resume.css code: h1 { color: blue; }
2 Answers
Peter Vann
36,427 PointsHi Alexis!
You are missing an = for one thing:
<link rel="stylesheet" href"resume.css">
It should be:
<link rel="stylesheet" href="resume.css">
I hope that helps.
Stay safe and happy coding!
tyler dixon
1,261 Pointshelped me too! thanks!
Alexis Hay
Front End Web Development Techdegree Student 8,693 PointsAlexis Hay
Front End Web Development Techdegree Student 8,693 PointsYes! It does. Thank you so much!