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 trialSahiti Chintapalli
114 PointsFew tags in code don't highlight and hence don't work
Hello!
I have trouble writing codes as parts of the tags don't highlight.
For example, in the following code, the tag "Document" doesn't highlight in red as it is in the video
<!DOCTYPE html> <html> <h1>Sahiti</h1> </html>
And in the following code, "color" didn't highlight either and so my heading appeared in black instead of blue.
h1 { color: blue; }
I could have posted screenshots but didn't find a way to do so. Need help!
Thanks, Sahiti.
4 Answers
nvcxnvkldsjaklfds
Courses Plus Student 5,041 PointsSahiti Chintapalli Are you talking about in workspace? What do you mean highlighting? You mean in some color.
<!DOCTYPE html> color is black in workspace and even color property in CSS color is black.
Please give us more information on your problem.
Sahiti Chintapalli
114 PointsKarthikeyan, yes I am talking about workspace. Color and DOCTYPE appeared as red in the lecture video but in y workspace it appears in back. And also, they aren't working as intended. The color code for example, h1 { color: blue; } , didn't return the header in blue.
nvcxnvkldsjaklfds
Courses Plus Student 5,041 PointsSahiti Chintapalli Videos may recorded few month or a year back. So you can't rely on the color Workspace used that time. I personally advice you to not to look at the color of text. Because these days everyone customize their editor to their preference..
Important Notice These days, mostly black are HTML codes color in Treehouse Workspace.
For codes not working as intended, you should paste your HTML and CSS codes in here. So that, people in here can help you out quite easily.
Because we do not know what is going on in your codes.
Please feel free to paste your codes in here.
I hope I answered mostly of your doubts.
Karthikeyan
shawn reeder
183 PointsI think I understand the problem that Sahiti is explaining as I too have the same problem.
As the instructor types, some words in the code automatically display a different font color IN THE CODE ITSELF. On my desktop this function is present as well as the ability to highlight the coders active line. On my laptop, however, these helpful things are not present.
The desktops OS is windows 7 and the laptops OS is windows 8.
If there is anyone that understands this problem and knows of a way to rectify please help. =)