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 trialChatisha Bridgeman
121 PointsSetting code element to a different color..
I'm entering this just as it was done on the video. I believe the syntax is correct but it's saying it's wrong. What's going on?
4 Answers
Juan Perez
Courses Plus Student 8,944 Pointshow Jeff Busch Said lets see the Code.
Jeff Busch
19,287 PointsHi Juan,
If you look to the bottom right of the text box you will see something that says Markdown Cheetsheet. If you don't understand that maybe this will make sense: How to display code at Treehouse
Jeff
Juan Perez
Courses Plus Student 8,944 PointsJeff Busch im sorry I meant to tag whoever asked the question to post the code where he/she is having problem with.
Chatisha Bridgeman
121 PointsI'm trying to post it but it isn't looking quite like it should. Maybe I could email someone?
Xander Taylor
12,390 Pointscheck the link for "markdown cheatsheet" your code should look like this:
<h1>this is a heading</h1>
<p>this is a paragraph</p>
or
/*this styles all h1 in the doc*/
h1 {
color: red;
}
You open the code block with three backticks. You can (optionally) stipulate the language of the code and it gets styled better. either way, three backticks, then return... then return and close the code block with three backticks.
Xander Taylor
12,390 Pointsit seems to help if you add a little space on either side of your code blocks enclosing backticks by adding a few returns..
Chatisha Bridgeman
121 PointsThanks guys! I ended up getting it right yesterday. I was missing something. I finally paid attention to it. Thanks!!
Jeff Busch
19,287 PointsJeff Busch
19,287 PointsLet's see your code.