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!

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

General Discussion

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,247 Points

Snippets for the code challenges

I have a couple of questions really.

I'm having a lot of trouble right now remembering the code I'm suppose to write once I've watched the videos, so I asked a question about it in the forum, and furthermore I wondered 2 things.

  1. Did we lose the code workshop links on the right of the video? It might be better if I do follow along with the video after all so I have something to draw on if I'm struggling with the challenges.

  2. This might be going against the spirit of treehouse but I wondered if it might be a helpful feature to have a codesnippet that would pass a challenge, (So long as the video has been viewed a certain number of times, or otherwise if the challenge has been failed a few times. I realise the forums are always available to help people but it might be less frustrating for people to be able to advance to the next part by having the code available if they want to see it.

Just a thought. Thanks. :-).

The key is practise practise practise I'm afraid. If you are forgetting things after the video then don't move onto the next video until you have mastered that lesson. As for code snippets next to the questions kind of defeats the object of learning in my eye's. When I was learning HTML/CSS I first watched the video with full attention on full screen, then I watched it again following along in my editor, then I watched it a third time and wrote notes.

All this while reading books, blogs and the w3c website.

James Barnett
James Barnett
39,199 Points

> As for code snippets next to the questions kind of defeats the object of learning in my eye's.

Pretty much.

Learning to program is kinda like learning algebra, each piece builds on the last one. If you move on without fully understanding it, it might come back to bite you. YMMV.

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 91,247 Points

Thanks Adam Sackfield and James Barnett for your responses. :-)

Yes I was thinking more on the lines of an SoS or an "If you're really stuck" feature that you could call on if you've watched the videos enough times for failed the quizes/challenges enough times but I absolutely understand the need to keep practicing.

Still it was just an idea and one that I won't keep going on about. It's a great setup here on treehouse. :)

I've since done a lot of revision on treehouse on Gradients and put some things together that will hopefully help me remember and a reminder to revise 3d gradients. They were tricky. Going along nicely again though.

Yes I see what you mean. Codeschool has a similar feature with hints if your really stuck, but I found that I used them too much rather than researching the question.

3 Answers

James Barnett
James Barnett
39,199 Points

> Did we lose the code workshop links on the right of the video?

Looks that way. :frowning:

The new How to Build a Website and JQuery Basics both use Workspaces which is good. However, when I checked the CSS Frameworks course, Sass course, CSS Layout course are using neither the Code Playground (via Codepen) nor Workspaces.

Tagging Nick Pettit & Guil Hernandez on this.

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

James Barnett – Sass Basics has CodePen playgrounds for all the videos where we're able to preview what's being created in the lesson. For example, Creating a Color Palette.

CSS Layout was created before Workspaces launched, but moving forward, I'll be using Workspaces for all my courses. I noticed that our CodPen playgrounds weren't getting many views –– some less than 10 views in 1+ years, so I didn't include them for CSS Layout. The start/final project files are all there, though, and I'm also looking into creating Workspaces for them. :)

James Barnett
James Barnett
39,199 Points

You are right about the Sass Basics, I apparently didn't look very carefully.

Do you have reason to believe that the Workspaces they will be used more often than the Codepens? Have you checked the views stats on Workspaces?

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

I haven't checked the stats since none of my courses use Workspaces yet. Once we release all the great features we have planned for Workspaces, the goal is to use it for everything –– "code playgrounds" as well.