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

not sure what to do

Im not sure what it is asking me to do.?? Please help!

index.html
<style></style>
<h1></h1>
<body></body>
rydavim
rydavim
18,814 Points

Welcome to Treehouse!

It looks like Tiffany McAllister has got you sorted on the answer to the first part of the challenge.

I'd just like to recommend going forward that you not alter challenge code unless they specifically ask you to. Often the challenges can be fairly picky about what they want the solution to look like, and normally editing or rearranging pre-written code is inadvisable.

Happy coding!

2 Answers

Tiffany McAllister
Tiffany McAllister
25,806 Points

Are you on challenge 1 of "Write a CSS Selector and Property"?

If so, you have to write a style element above the h1 element like so:

<body>
    <style></style>
    <h1>Nick Pettit</h1>
</body>
Jonathan Romine
Jonathan Romine
9,344 Points

<html> <head> <style></style> </head> <body> <h1></h1> </body> </html>