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 trialimran abram
84 Pointsdon't forget to style tag???
ok it's a stupid question and as I'm very new to this and the fact that I do not understand most of the terms. This task is from challenge task 1 of 3. Feel free to treat me like a child. Thanks
5 Answers
Tim Knight
28,888 PointsImran, all they are asking for here is for you to add a style
tag just above the h1
, so it should look something like this.
<body>
<style></style>
<h1>Nick Pettit</h1>
</body>
Piotr Gorski
1,155 PointsInternal style sheets are mostly in the <head> tag, in this case should be above the body tag
<style></style>
<body>
<h1>Nick Pettit</h1>
</body>
```
Tim Knight
28,888 PointsPiotr, you are absolutely correct as far as general syntax and structure is concerned, however the question in the challenge is specific to the location of where they'd like to see it added for the exercise.
"Weβre starting out with an <h1>
element and a <body>
element. Add a <style>
element just above the <h1>
."
Piotr Gorski
1,155 PointsTim, thanks for clarification, I just thought we should teach the correct syntax from scratch :)
Tim Knight
28,888 PointsOh I agree.
MUZ140603 Killion Machimbidzofa
6,318 Points<body> <style><style> <h1>Nick Pettit</h1> </body>
imran abram
84 PointsYou guys are all great and thanks, but I followed all instructions in the video,
<style>
H1 { Color:blue; } <h1>my name</h1>
I sound like a bafoon yes I know, but truth is I'm jumping into this amazing sector with no knowledge., most of the technical terms I'm not familiar with. And again I really do appreciate the help.
Ruzica Miletic
153 PointsHi Tim, when I did as you wrote up, I was wrong and I got a comment: We can't see the h1 tag any more! Did you enclose it IN the style tag? Make sure to close the style tag with "</style>" BEFORE the h1 tag!
I did corect several on different way then yours, but now it doesn`t work!
What is problem?
Thank you!