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
sizwengubane
15,244 Pointshow do you get the black background design for the code we submit as answers ?
My stylings are not working ...i read the cheatsheet in treehouse but nothing is working <blockquote></blockquote> is not working and also the three backticks before and after the code are not working (including the language name)
11 Answers
sizwengubane
15,244 Points<blockquote>
<p>doesnt work!</p>
</blockquote>
bothxp
16,510 PointsWhen I look at that it edit mode I can see that it is wrapped in blockquote tags.
Did you add those?
sizwengubane
15,244 Pointsyes i added them
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 PointsYou have to put 3x backtick and then the language you want to use. And Close it with another 3 backticks.
It all depends on what Keyboard layout you use. On a german Keyboard the backtick is used with: SHIFT + (1 key left from the backspace).
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 PointsAs I see you are on the right track. Press the key 4 times and delete the last one, then write html -> press ENTER -> write your Code -> repeat the 4 key press and delete the last one -> and voila -> it worked.
bothxp
16,510 PointsHi Nejc,
Lakindu does appear to be using the correct syntax, with the right backticks but his code is being wrapped in <blockquote> tags.
Any ideas what would cause that?
sizwengubane
15,244 Points<blockquote>
<p>not working</p>
</blockquote>
bothxp
16,510 PointsOk so the answer is to not include the blockquote tags.
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 Points<p> Working? </p>
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 PointsIt's working fine it seems.
Click on the Markdown Cheatsheet and copy/paste it.
sizwengubane
15,244 PointsNOO!!! i tried everything!!! i complainted the forum team also
<p>not working</p>
bothxp
16,510 PointsYou also need to have at least 1 line of space between any text and the code.
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 Points <p>This is code!</p>
```
sizwengubane
15,244 PointsMY GOODNESS....ok one more time! I am going to be a moderator soon..so i must fix this shit QUICK!
<p>Working?</p>
bothxp
16,510 PointsNearly !
You just missed off the last backtick that time.
bothxp
16,510 PointsYay !
Nejc Vukovic
Full Stack JavaScript Techdegree Graduate 51,574 Points<code>
<p>This is code!</p>
</code>
sizwengubane
15,244 PointsWPOHOOOO I DID IT!!! FUCK YEAH..THANKS GUYS LOVE YA btw im gonna do a big project ..a website actually so if anyone interested..please email me lakindu1.jayathilaka@gmail.com
I will contact you within a week of time
Ximena Castillo
Courses Plus Student 1,921 PointsYou should put ``` before and after the code, and to set the language put it next to the first backticks , so you go from this:
$(".slides").slick({
slidesToShow: 4,
slidesToScroll: 4,
dots: true
});
To this:
$(".slides").slick({
slidesToShow: 4,
slidesToScroll: 4,
dots: true
});
bothxp
16,510 Pointsbothxp
16,510 PointsHi, Can you try posting an example and then I will be able to take a look at the editing view to see if I can spot what's going wrong.