Welcome to Codecademy!
Lesson 1 of 1
  1. 1
    Are you ready to start coding? Codecademy is all about learning by doing and by coding. In this lesson, we’ll take you through the basics of how to use Codecademy and show you some of the power of…
  2. 2
    The code in the editor panel is written in a programming language known as JavaScript, but that detail isn’t too important right now—it’s time to start writing your own code! When you run yo…
  3. 3
    Now you’ll use a variable to quickly change your program. Variables are used to store some kind of data in a program that can be referenced elsewhere (often more than once). Variables look diffe…
  4. 4
    Okay, time to make this animation more interesting! In the code editor, drawName() now has two items between the parentheses, message, and red. The text in the browser panel has also turned red! …
  5. 5
    The text is now displayed in multiple colors! There is a new variable named letterColors with a list of color variables inside brackets ([])separated by commas (,). letterColors = [red, orange, gre…
  6. 6
    Part of the power of coding is that small changes can create big impacts. Now that you’ve experimented with changing the color and text, it’s time to experiment with the animation itself!
  7. 7
    Congratulations, you’re ready to take on your next Codecademy lesson!