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 CSS Foundations Backgrounds and Borders Background Properties

Ian Borcic
PLUS
Ian Borcic
Courses Plus Student 2,455 Points

I am having problems with the code challenges. The preview doesn't seem to work for me so I can't see what I am doing.

I am working on Mac OS X Yosemite using Safari. I have also tried the latest version of Chrome and it's the same there as well. I can finish the challenges but without the preview I am guessing a bit as I am going along. Anybody else have this problem?

4 Answers

Mike Hickman
Mike Hickman
19,817 Points

Hi Ian,

I'm not sure if this is the exact problem you are having, but I often find that it does not switch between the editor and preview windows smoothly for me. I usually have to click the editor/preview buttons a couple times to get to the correct screen to toggle.

If that's the issue you're having, where you see the code editor after you hit preview, or vice versa, try hitting the button a couple more times. That seemed to work for me.

If that's not the issue you're talking about, best of luck! Hopefully someone has a different experience and can help you out.

Cheers, Mike

Ian Borcic
PLUS
Ian Borcic
Courses Plus Student 2,455 Points

Hey Mike,

Thanks for your answer. Actualy the button always makes the switch between preview and editor for me. The thing is that the actual preview does not update for me as i make changes to the code. I tried to switch back and forth between preview/editor, but the preview still doesn't update. Guess it's some kind of bug somewhere :(

Wayne Priestley
Wayne Priestley
19,579 Points

Hey Ian,

You might want to try the following.

Are you typing in the code or pasting it? (try doing the opposite),

Try logging out then back in,

Try restarting your browser,

Try using a different browser,

They are all my usual suggestions for this problem, if it is a bug then this might fix it.

Hope this helps.

Milo Wyner
Milo Wyner
8,780 Points

I'm having the same exact problem and I tried your suggestions but none of them helped, unfortunately.

Aaron Watson
Aaron Watson
2,551 Points

I am having this problem too, I honestly haven't used the preview a great deal as I have sublime text open and just play with things there and test it in chrome. Playing with it and creating your own versions of lessons from scratch is probably the best way to learn anyway. :-)