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 trialSasha S
217 PointsCan't get H1 to turn blue linking to CSS from HTML
Help! This is my code. Thank you!
<!DOCTYPE html>
<html>
<head>
<title>Sasha Resume</title>
<link rel:"stylesheet" href:"resume.css">
</head>
<body>
<img src="http://placeimg.com/200/200/tech" alt="Sasha, Web Designer">
<h1>Sasha, Web Designer</h1>
<h2>Summary of Qualifications</h2>
<ul>
<li>Knowledge of HTML, CSS and Java </li>
<li>Experience with Photoshop and other visual design tools</li>
<li>Wordpress experience and site building with themes</li>
</ul>
</body>
</html>
h1 {
color: blue;
}
this is the CSS document on second page. {resume.css) Thanks! :)
2 Answers
Ryan Groom
18,674 PointsSasha S I believe the issue is that when referencing your CSS file you have
<link rel:"stylesheet" href:"resume.css">
where the colons should be equal signs. Try:
<link rel="stylesheet" href="resume.css">
Let me know if you need anything else!
valentina opazo
UX Design Techdegree Student 33 PointsBecause of the ":" You should use "=" When something doesnt work, its because u'r writting. <link rel="stylesheet" href="resume.css"> And for u'r personal style in css, the universal and more functional whay is to name it "mystyle.css"
Sasha S
217 PointsSasha S
217 PointsThank you! (Can't believe I didn't see that! Haha) :)