Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

index.html
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:

https://teamtreehouse.com/library/css-basics

Best Regards,

Ashton

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,624 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.

:dizzy: