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 trialDavid Regel
Full Stack JavaScript Techdegree Student 5,504 PointsMy <h1> element is not turning blue - I don't understand why
Hello everyone,
I'm not able to change the color of my <h1> element to blue. Do you have any idea why? I can't figure it out myself. :(
<!DOCTYPE html>
<html>
<head>
<title>Treassure Porth's Resume</title>
<link rel"stylesheet" href="resume.css">
</head>
<body>
<img src="http://placeimg.com/200/200/people" alt"David, Web Developer">
<h1>David, Web Developer</h1>
<h2>Summary of Qualifications</h2>
<ul>
<li>Experience as a freelance web developer</li>
<li>Experience with HTML, CSS and JavaScropt</li>
<li>Bachelor of Science, in Economics</li>
</ul>
</body>
</html>
h1 {
color: blue;
}
I just had a long day. Maybe that's why I don't get what's wrong here right now. :/
1 Answer
Birte Müller
Front End Web Development Techdegree Graduate 16,026 PointsHi David, it's only your stylesheet that isn't linked correctly. Set it to rel = "stylesheet" and it will work. (Same for the alt attribute for the image, btw).
David Regel
Full Stack JavaScript Techdegree Student 5,504 PointsDavid Regel
Full Stack JavaScript Techdegree Student 5,504 PointsThank you so much! Not sure how I was able to miss that...