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

CSS How to Make a Website CSS: Cascading Style Sheets What is CSS?

Workspace v.s. Code Challenge Page

I am not clear on why the videos ask us to do everything in the workspace, but when the video finishes it takes us to write the code in the "coding challenge". Am I supposed to then copy that code over to my workspace? I'm not sure why there are two different places for my code.

2 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Garity,

The workspace is an optional thing, you can use it to follow along and build your own project similar to the tutor, or use it completely by its self to do your own project. It's a way for all students to follow along with the tutor only having to give one set of instructions on its use, much harder to do if students are using 10 different applications to write code when following the tutors examples.

The code you see on the challenge stage is purely to see if your have a grasp of what you have just watched, so it is part of the course and must be passed to move on, unlike workspace which you don't have to use at all if you decide not too.

Stone Preston
Stone Preston
42,016 Points

code challenges are like quizzes for writing code. They test out what you have learned in the course so far. Generally I would say its not a good idea to copy and paste code from your workspace because you will learn more and faster by typing the code out yourself. Also the code challenges ask for different but similar code usually, its not always going to be the same code you wrote in your workspace (sometimes it is though)

James Barnett
James Barnett
39,199 Points

its not always going to be the same code you wrote in your workspace

That's a common mistake, assuming that variable names and the like are the same as they were in the videos.