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) Getting Started with CSS Inline and Internal Styles

How do I apply changes to my paragraphs using inline styling?

p { font-size: 20px; font-weight: bold; }

I thought that would do it and Im looking at the videos and I cant figure out what im doing so differently!

1 Answer

Steven Parker
Steven Parker
231,275 Points

That's perfectly good CSS code, and should work fine if placed in a CSS file or between <style> tags in the HTML file.

If it's not working you may need to show more of the context. Or make a snapshot of your workspace and post the link to it here.

I moved on from the level in hopes I understood what was happening and it got me to delete those lines previous... thank you for the confirmation!