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

Alicia Williams
Alicia Williams
167 Points

I cannot remember the next step :(

I need help



<h1>Alicia Williams</h1>
Felix Reyes
Felix Reyes
4,838 Points

Please remove the <h1> which is above the <style> tag. That should get you to complete the challenge. The reason why you're code is not checking out is because that <h1> tag is not being being closed properly with the corresponding </h1> tag.

2 Answers

It seems for some reason you left an open <h1> tag at the top of the file that is not used... HTML is thinking that you are going to close it at some moment but you never did in your program. Since HTML is very friendly on not giving errors, it just doesn't display anything, and that's why the challenge isn't passing. Remove the top line of code :smile:

On the other hand, I noticed that your CSS is also invalid. Where did you say you are going to select the h1 in the CSS? You just left out opening and closing curly braces.

Your css should be like this:

h1 {


As you see, I'm selecting the h1 by typing it out before the first {.

I hope this helps. ~Alex

Alicia Williams
Alicia Williams
167 Points

Thank you both ! I really appreciate it ?