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 Modular CSS with Sass Getting Modular with Mixins and Functions Pseudo-Element Mixin with @error

mike cee
mike cee
7,302 Points

finished page i not displaying in the browser why??

when i hit refresh i get a blank screen

It would be helpful to see your code, but make sure that you have all of your opening and closing curly braces in the proper places in your css file as well as your html.

If your Sass is not compiling to CSS look in the terminal and see if there are any errors in your code. If not then it means that you did not link your style sheet to the page you are trying to view.

and if it's a total blank screen, then I would look into any head code or any HTML errors that might make the code not render one to the page.

2 Answers

Can you provide the html code, css code, and what ide you are using (can be workspaces).

Heather Woods
Heather Woods
5,330 Points

make sure you hit control or command S to save your workspace before hitting refresh. There is a little gold circle on your workspace tab that will disappear when you're saved. Otherwise you may have forgotten to link your CSS stylesheet to your html. Seeing your code would help too :)