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 trial

CSS

I made a made a web page and changed it from .http to .php now the css doesnt connect?

Any Idea why this is

ive got this code in my head.php

<link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> <meta name="viewport" content="width=device-width, intial-scale=1.0">

Hi James,

If you're working on this in workspaces, can you please post a snapshot of your workspace so that we have access to what you see and have? If you don't know how to do that, check this forum post out: http://www.teamtreehouse.com/forum/workspace-snapshots

5 Answers

I'm seeing the CSS connect now, James, with that updated snapshot because header is being referenced correctly. It looks like you are just missing some image resources, but other than that, the CSS is linked and working as far as I can see.

it seams to work in the work space. i've got it in xampp on the computer and its not working so its an issue with the software not the code? bar the missing resources?

It's not an issue with the software because I've personally used XAMPP for years now. XAMPP has nothing to do with the file structure. It's likely that your folder structure is different on your local computer than it is on Workspaces. Make sure all your files are in the correct places they should be.

https://w.trhou.se/v31bpvvwo4 has some more files

Let me check this one out and I'll get back to you real quick.

I had ccs for a file instead of css!!!! How long did it take you to get the hang of writing code! I find it can get very frustrating

Getting the hang of coding takes time and practice. I've spent tons of hours playing around with Chrome's console and making projects to test the limits of my JavaScript knowledge. I like a good challenge, and so, as long as I have spare time, I'll sit there and think about why something is not going the way I planned it even down to the most obvious things such as spelling "ccs" instead of "css". We all do it, but you just have to hang in there and practice, practice, practice! There is loads of help available for you, and I know here on Treehouse, we'll help you as best we can. :)

Cheers

Cheers! =]