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!
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

Daniel Blom
331 PointsCSS files linking
Having problems with changing the background on the build a website project. can any one help with this? Thanks.

Daniel Blom
331 Points<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Daniel Blom | Graphic Design Protfolio</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html"> <h1>Daniel Blom</h1> <h2>Graphic Desinger</h2>
I have created the .css file and i have places it in the css folder, however it dosnt seem to be linking for when i need to change the background.
2 Answers

Ricardo Hill-Henry
38,442 PointsTo link an external stylesheet you can use the link tag inside of the head tag.
<DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
<title> Daniel Bloom | Graphic Design Portfolio</title>
</head>
<body>
...
</body>
</html>
Is this what you're trying to do?

Daniel Blom
331 PointsI am very new to all of this i have only recently just joined this site, im doing the how to build a website course and i have become stuck with the the .css folders not linking properly so my changes arnt being saved.
Please forgive any stupidness this is totally new to me
Ricardo Hill-Henry
38,442 PointsRicardo Hill-Henry
38,442 PointsPost some example code, so we can see what you're doing wrong.