About 107,000 results
Open links in new tab
  1. Code.org Tool Documentation

    JavaScript. JavaScript is a programming language used all over the internet, and as the core programming language in many of Code.org's tools and curricula, such as App Lab, Game …

  2. Code.org Tool Documentation

    Keeping Your Code Readable By giving a group of commands a name you're helping explain how your code works. Picking good names helps you and other people reading your code …

  3. Unit: Star Wars: Building a Galaxy With Code (JavaScript) - Code.org

    Anyone can learn computer science. Make games, apps and art with code.

  4. Code.org Tool Documentation

    Usually these values are all of the same type (like all numbers, all text, or even all sprites), but in JavaScript, arrays can also hold different types of elements. You can use arrays to create a list …

  5. Code.org Tool Documentation

    The for loop was created to wrap all of those components related to counting loops into a single line of code. Programmers would typically read a loop for (var i = 0; i < 10; i++) out like this: …

  6. Star Wars: Building a Galaxy With Code (JavaScript) - Code.org

    I wrote the code myself with Code.org

  7. Code.org Tool Documentation

    The green section is our callback function - the code that we run each time the loop repeats. The stopTimedLoop() block tells all running Timed Loops to stop running. Note that when …

  8. Code.org Tool Documentation

    Any block that takes a number as input could be animated using the counter pattern in the draw loop. Take a look at the three following examples, each of which uses the counter pattern to …

  9. Code.org Tool Documentation

    Modifying Arrays. Arrays can be modified in a few ways. Changing the values of what's inside the array is a form of modification, but taking away items or adding new ones to the array is …

  10. Code.org Tool Documentation

    "Conditional" is simply a generic term for code that alters program flow based on true/false values (like an if statement) Examples: Condition, Conditionals, Conditional statements, conditional …

Refresh