Teach Yourself to Code for Free with These Online Resources

teach yourself computer code
  • Share

If you dream of creating your own mobile app, making an online game, or becoming the next Karlie Kloss, it’s time to learn to code. Coding is challenging and creative work. It can also help you get a high-paying job. Not sure how to get going? To start, decide which programming language you want to learn first. Here’s a fun infographic to help you narrow your choices.

After selecting a language to learn, tap into some of the free online resources that teach programming languages with step by step tutorials. Here is a list to help get you started:

Try a few kid-friendly coding games and pick up the basics of computer science. Code.org will also connect you with other online resources.

Sign up for Codecademy to access step-by-step tutorials in web developer skills and programming languages such as JavaScript, Ruby, PHP and Python.

Pick up coding basics by playing this fantasy adventure game. The code you write will enable you to gather treasure and fight ogres.


Want to learn how to create websites from scratch? Use Dash to teach yourself HTML, CSS, and JavaScript. Take it one step at a time, and update your code as you follow along.

Interested in becoming a software engineer? This website’s interactive courses and tutorials will help you get started and give you the opportunity to use your skills to help nonprofits.

Khan Academy: Computer Programming
Khan Academy offers free online courses in all sorts of subjects. The computer programming section offers classes in JavaScript, ProcessingJS, HTML, CSS, and SQL.

This project, created by the MIT Media Lab, offers young people a way to program their own interactive stories, games, and animations.

W3 Schools
Study web development at your own speed with this site, which offers tutorials in HTML, CSS, JavaScript, PHP, SQL, and JQuery.

Want support as you learn to code?
Connect with these organizations, which share a mission of getting girls involved in computer science.

100 Girls of Code
Introduces girls ages 10-18 to the world of computer science and engineering, providing opportunities to create with code via free workshops.

Black Girls CODE
Through workshops and after school programs, Black Girls CODE introduces coding, including Scratch and Ruby on Rails, to young girls from underrepresented communities. The organization also hosts girls-only hackathons where girls ages 12 to 17 learn to build apps that solve community problems.

Girls Who Code
Girls Who Code is working to close the gender gap in the technology field by offering instruction in programming fundamentals, web development and design, mobile development and robotics. It offers programs in major cities around the United States.

Made with Code
This Google initiative was created to inspire girls and women to try coding and work together to build a supportive community.


  • Share