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 trialAlicia Williams
167 PointsI cannot remember the next step :(
I need help
<h1>
<style>
{
}
</style>
<h1>Alicia Williams</h1>
2 Answers
Alexander Davison
65,469 PointsIt 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
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
167 PointsThank you both ! I really appreciate it ?
Felix Reyes
4,838 PointsFelix Reyes
4,838 PointsPlease 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.