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 Basics (2014) Understanding Values and Units Text Styles

Tiger Wang
Tiger Wang
26,548 Points

My page doesn't change after I change css's font-weight property to bold or normal.

My page doesn't change after I change css's font-weight property to bold or normal.

p { font-weight:normal; }

and

p { font-weight:bold; }

look that same. I guess my browser is using a different default font to Teacher's.

1 Answer

lihaoquan
lihaoquan
12,045 Points

Try to clear cache ( in case your CSS is being saved by the browser, which is not updating ), if you're in chrome, do CTRL + SHIFT + R. Some fonts dont have bold type so it might also be because of that.

Tiger Wang
Tiger Wang
26,548 Points

Thanks, I solved it by cleaning the cache.