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

HTML Introduction to HTML and CSS (2016) Make It Beautiful With CSS Select and Style by Element

Alec Livinghouse
Alec Livinghouse
1,719 Points

Css doesn't change in workspace

The html changes is my workspaces but the css never does. I know it is not just my punctuation because it doesn't change even when I delete pre-existing css

Erik Nuber
Erik Nuber
20,629 Points

could you please share your code. You can do so by placing the code between three tick marks above and below the code you are sharing. The tick marks are the ones found under the tilde key on the keyboard next to the one key.

Without seeing your code, there isn't a way to help. The only thing I can suggest without seeing it is that the css file isn't actually in your HTML code. That can be accomplished by creating a <link> tag as below.

<link href="css/main.css" rel="stylesheet" type="text/css" />

1 Answer

It could be like Erik mentioned, you're not connecting your css page correctly to your html but we would need to see the code to confirm.