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

Jacqueline Weinland
Jacqueline Weinland
1,356 Points

Workspace responding sporadically

Hi! So I posted earlier about my css file not linking properly to my html, it seemingly went out randomly then came back while I was working - in that suddenly after not making any major change, my preview was reflective of the css. It was working for the past few days and today for about 15 minutes then suddenly stopped.

To test this, I deleted my entire "main.css" file, saved, then previewed - it was exactly the same as before, as though I had not changed the css from when it had stopped working. I wouldn't mind posting my code, but from what I've looked at, it's all correct. Has anyone had an issue with the preview in workspaces simply not repsonding correctly?

always use sublime text 2 ..... workspaces are not permanent solution

lordcozycat
lordcozycat
11,940 Points

Jaquelline, try forcing a cache refresh with Control + F5 on the webpage opened from Workspace. That could also be the issue, and I myself have experienced it a few times.

3 Answers

lordcozycat
lordcozycat
11,940 Points

Would you describe it as updating "sluggishly"? I've been doing the Ruby course, and the console has some serious delays/lag some times. I'm not exactly sure what you could do to fix this, unfortunately. If the problem persists, emailing Treehouse Support will be your best option.

workspaces are working fine, i have completed the course , there must be a problem in code

lordcozycat
lordcozycat
11,940 Points

I will object to that statement. If Jacquelline saves her main.css file, then opens the webpage to find it still styled, it can't be an issue with her code.

so it will be better if jacquelline will try that code in Sublime 2 , or post code in forum

Jacqueline Weinland
Jacqueline Weinland
1,356 Points

Refreshing the cache worked! I was convinced something was wrong with my code until I deleted my css and nothing changed. Thanks for the help! Was getting so frustrated!

lordcozycat
lordcozycat
11,940 Points

Fantastic! Good luck with the rest of the course! :)

so work spaces may cause problem so just use any other editor like Sublime text 2 ,,,,,, and then preview in your browser ..... and if still not working ... post your complete html and css code