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

Code challenge is saying my code is incorrect when I know that it is.

The code challenge is saying my code is incorrect when I know that it is.

its saying I'm missing the style tag

<style>
  h1 {
    color: blue;
  }
</style>

<body>
    <h1>Nick Pettit</h1>
</body>

when I copy into Notepad ++ it shows it working correctly this is stopping me from going any further.

https://plus.google.com/u/0/photos/yourphotos?pid=6067174151850303138&oid=114777755908849243496

<style> h1 { color: blue; } </style> <body> <h1>Nick Pettit</h1> </body>

I'm adding the full code and with the style tags and this is the only part it showing up?

Probably seen like this in the challenge that's why it's not saying the tags are there

Am I really the only one that experience this bug interface?

Wayne Priestley
Wayne Priestley
19,579 Points

I've edited your code so it appears correct in your post.

Here is a link to explain how to use Markdown to post your code How to post code

Wayne Priestley
Wayne Priestley
19,579 Points

Mark,

If you refresh the page it will always take you back to how it was when it first loaded, thats the point of refresh.

The user profile error is telling you you can only have 255 characters not lines. you can have one line with 255 characters or ten lines with a total of 255 characters when each individual letter and space is combined.

If you need help with anything you can post here on the forum, but please remember that the more information you provide the better the help will be. We don't know any information on what your problem is apart from what you tell us in your post.

If you need account information you can email Treehouse support. They will get back to you pretty quick.

Hope this helps.

13 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Mark,

If its the challenge asking you to add style tags you need to do this: <style></style>

Without you giving us the question there really isn't much we can do to help you.

<style> h1 { color: blue; } </style> <body> <h1>Nick Pettit</h1> </body>

Wayne Priestley
Wayne Priestley
19,579 Points

Here is a link to explain how to use Markdown to post your code How to post code

<style> h1 { color: blue; } </style>

I'm typing the full code in that's only showing one line of it for some reason!?

Wayne Priestley
Wayne Priestley
19,579 Points

Here is a link to explain how to use Markdown to post your code How to post code

I know how to add style tags and that's the only thing its checking for.

I tried restarting my computer refresh my browser trying different browsers I'm not computer or code illiterate I know what I'm doing.

Wayne Priestley
Wayne Priestley
19,579 Points

Mark, if you only have to add style tags then it should look like this <style></style> it should have nothing in-between.

I appreciate you trying to help and I have <style></style> in there I don't know why I can see it on my side but you cant on yours

for an example of what I'm trying to say I'm going to copy and paste your exact comet in and watch the style part disappear

Mark, if you only have to add style tags then it should look like this <style></style> it should have nothing in-between.

Wayne Priestley
Wayne Priestley
19,579 Points

The reason it does not appear is that I'm using markdown to enter the code and your just pasting your code without markdown, if you follow the link i have given you it will show you which characters you need to place before and after your code so that it appears in you post properly formatted.

If you look at the bottom of the box when your typing a reply you will see Markdown Cheatsheet that will also explain how to post your code.

If you paste the full question into your post we will also have a better idea what it is the challenge is asking for.

do you see now I'm talking about it disappeared I copied your exact comet with the style and now the tag disappeared!

Yes to the browser and i am on a diff computer right now. Let me see.

Nope still the same..

Your vary aggressive Mark that is all.

James Barnett
James Barnett
39,199 Points

In my time on the forum I've noticed that a person's early debugging / troubleshooting experiences can be very frustrating.

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Mark,

Thats a blank page you posted.

Here is a link to explain how to use Markdown to post your code How to post code

If you look at the bottom of the box when your typing a reply you will see Markdown Cheatsheet that will also explain how to post your code.