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 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,858 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: