Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
CSS not connecting to HTML
My CSS styling is not showing up on my webpage what could I have missed that is preventing it from connecting to my HTML file?
Do you have this line of code in your HTML? (inside the
<link rel="stylesheet" href="css/main.css">
This line of code is telling the HTML to use the CSS file.
the best suggestion is to first create a new Folder inside of a folder(where your index.html file is ) then save your CSS files into it. then via that folder path link your CSS to HTML.
Yes I think I have the right code. This is what my HTML code looks like: <!DOCTYPE html> <html> <head> <meta charset= "utf-8"> <title>Pablo Garcia | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/main.css"> </head>
I was really looking at my code and I realized I misspelled "wrapper" in my HTML. Thanks so much for the help though! It helped me to be able to narrow down what the issue was