Transcript
00:00 So let's go on to the next page. If your exercise has more than one step, then you're going to be on the next step when you hit the next page. So we were on step one. Now we're on step two of exercise one. Now you'll notice we have Set to Playground is flashing in our face.
00:16 And remember, that is really critical that you click that before you get working on the exercise. So that's the first thing we're going to do here, is we're going to click on Set to Playground. Actually, before we do that, I want to talk about a couple of other things about that set to playground. So, first of all, getting here onto this page, sometimes between applications, we're going to have some changes. Lots of the steps of each exercise kind of build on the previous step.
00:47 And occasionally, there are going to be some changes that need to happen between the solution of the previous step and the problem of the next step. And being able to have a good idea of what those changes were can be helpful sometimes. And so you have Kelly, the coworker, who is the one who actually makes those changes and she will pop up occasionally when those changes are significant and give you a special link that will show you the changes that were made. So in our case, right here, we changed our server from serving just text plain to text HTML. And that can be useful so that when you pop open the Playground, it's not like, whoa, whoa, this is totally different than what we were doing before.
01:25 So that can be helpful to you sometimes as well. Okay, so great, with Kelly the coworker there, Let's now click on set to playground. Now I wanna show you something here. Before we do that, we have our index.js. This is the solution of the previous we just finished.
01:42 Maybe I spent some time and took some notes. These are my notes. Or whatever, or maybe I solved it differently and I wanna like reference that later. If I go here and hit sent to playground, my notes are gone, they get deleted. Luckily I had the buffer open so I could save this.
02:01 But that's the important thing for you to recognize is that as you set the playground, your playground directory gets completely deleted and replaced by the current step. That way you never fall behind, you never get lost, and you can always jump at any point in any exercise and jump from that point and go forward. You don't have to manually build up the history here. So it's a really nice feature, but if you want to save your progress, you actually can go into preferences. You can enable saving the playground, And then we'll go back.
02:37 And if I set this to this problem and then set to playground, you notice I actually just set the playground twice. And so if we look here, I now have the saved playgrounds, and here are the playgrounds that I saved, or that I set. And so I can always reference, what did the playground look like when I was working on that yesterday, or whatever? And so you can, if you really want to, you can persist your Playgrounds. I don't personally do that, but yeah, if you want to, you're welcome to enable that feature.
03:09 Just, it's important for you to know the Playground gets totally deleted and set up anew every single time you click set to playground. And that is that. There's the diff between exercises sometimes can be useful. And preserving the playground might be useful to you as well. So, good job on this one.
03:30 Button.
