Learn Ruby

Learn to program in Ruby, a flexible and beginner-friendly language used to create sites like Codecademy.

Start[missing "en.views.course_landing_page.learn-ruby.course_illustration" translation]

Why Learn Ruby?

Ruby is a general-purpose language that is still popular and in high demand in the marketplace, as it's more commonly used in Rails applications.

Concise and readable, it is easy to pick up but also plenty powerful. Companies like Twitter, Soundcloud, Goodreads, and Kickstarter got their products off the ground with Ruby.

Take-Away Skills:

In this course, you will gain familiarity with Ruby and basic programming concepts—including variables, loops, control flow, and most importantly, object-oriented programming. You'll get a chance to test your understanding in a final project, which you'll build locally.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox LogoQuora Logo

What you'll learn

  1. 1
    Introduction to Ruby

    Learn about Ruby, an object-oriented scripting language you can use on its own or as part of the Ruby on Rails web framework.

  2. 2
    Control Flow in Ruby

    Learn how to write more complex programs that can respond to user input.

  3. 3
    Looping with Ruby

    Learn to use loops and iterators to automate repetitive tasks.

  4. 4
    Arrays and Hashes

    Learn about arrays and hashes, including how to iterate over these data structures.

  5. 5
    Blocks and Sorting

    Learn how to define your own methods, as well as how to use blocks to develop powerful sorting algorithms.

  6. + 5 more lessons
I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.
— Madelyn, Pinterest