From the course: Learning CoffeeScript
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Understanding variables - CoffeeScript Tutorial
From the course: Learning CoffeeScript
Understanding variables
Let's dive deeper into CoffeeScript variables. Now just to remind you if you're working with the exercise files what you want to do it make sure that you have a terminal open and that you're in the folder with the exercise files. And what you need to do is change the directory so you're at that location. So I'm going to drag this onto the terminal. Just hit Return. And notice that I'm in that CoffeeScript folder, you can go, of course, cd and then users if you know the path. You can just change directory to that location. Now once in that folder all you have to do is execute the gulp command and that'll start all the processes going. Just remember that when you start the rest of the videos in this course, the gulp command needs to be running on your terminal like we've done here. And then you can minimize or hide the terminal. You won't need it again. It's going to run in the background. Now, here I have my project opened in a browser on the right-hand side. And on the left-hand side,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Basic CoffeeScript syntax7m 15s
-
(Locked)
Using realistic assets5m 24s
-
(Locked)
Understanding variables10m 11s
-
(Locked)
Dealing with array ranges4m
-
(Locked)
Working with conditional statements5m 2s
-
(Locked)
Using loops and comprehensions4m 14s
-
(Locked)
Adding basic functions2m 57s
-
(Locked)
Working with splats3m 28s
-
(Locked)
Using the switch statement2m 51s
-
(Locked)
Using aliases for "this" and other tidbits3m 57s
-
(Locked)
-