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!

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 How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

how can i write the css ?

i request the challenges to be specific

h1 {
<h1>Nick Pettit</h1>

2 Answers

Hello Omar!

It seems like you were on the wrong course if you want to learn CSS--that is the HTML basics course.

If you are still having this problem, here is the link to the CSS Basics course on treehouse:


Best Regards,


Jason Anders
Jason Anders
Treehouse Moderator 145,855 Points

Hi Omar,

You have the CSS for Task #2, and it's correct. But, where did the <style></style> tags go that you wrote for Task #1?

The CSS above need to be between the style tags... When writing CSS directly inside an HTML document, all CSS need to be inside of style tags.