What Are the Best Free Websites to Learn to Program?

Updated on April 26, 2019
hrymel profile image

Haley works in Quality Assurance as a software tester. She is in charge of managing testing projects as well as training new testers.

How do I learn to program online?

The Internet has new websites, tutorials, and videos added every day. The tough part is finding the quality websites to use. The following is a list of websites to get started learning basic programming skills and to sharpen your existing skills.

The important thing is to remember to use these websites to gain basic knowledge and skills, and then use these skills to build sites and basic apps for your portfolio. For most software and development teams, certifications and schools don't matter as much as what you can do and what you've built.

Following along with a well-created program also helps you learn things in a beneficial order, as compared to jumping around from concept to concept. Whichever works for you though, here's a list of websites that you can use to learn to program for free.

A screenshot of the Codecademy dashboard.
A screenshot of the Codecademy dashboard.


Codecademy is a website that was started in 2011. It focuses on interactive lessons teaching how to actually create and build projects with a variety of programming languages.

In fact, many colleges suggest Codecademy exercises during entry-level courses in programming and computer science courses. While Codecademy won't give you a strong enough skill set to become a programmer just from its material, it will give you a strong foundation to start exploring other intermediate and advanced options.

Currently, they offer fully interactive courses in:

  • HTML & CSS
  • Javascript
  • jQuery
  • Ruby
  • Python
  • SQL
  • Java
  • PHP

As well as courses on Git, making and deploying websites, and the command line.

Codecademy has won the awards: Skillies Technology Award 2015, and Best Education Startup, Crunchies Awards 2012

Although the site has historically been 100% free, they have introduced a pro plan, which doesn't hide lessons, but instead adds one-on-one tutoring, some additional projects, and quizzes.

A screenshot of one of Free Code Camp's many lessons.
A screenshot of one of Free Code Camp's many lessons.

Free Code Camp - 100% Free

Free Code Camp is an open source community focused on helping people learn how to code, and get a job with those skills. Their FAQ states that it takes over 2,080 hours to earn all four of their certifications. That's a lot of lessons.

But, you don't have to compete for all of the courses to begin to get some real-world programming skills. One of the really cool parts of Free Code Camp is that doing real-world work for reputable non-profits is part of the curriculum.

There are four main specializations that Free Code Camp Focuses on Front End Development, Data Visualization, Back End Development, Full Stack Development, and Coding Interview skills.

Each of these sections contains hours and hours worth of interactive content to give you a strong understanding of not only the different languages but also the basics of development environments and object-oriented programming.

A screenshot of LearnCPP.com
A screenshot of LearnCPP.com

Learn CPP

While there are a lot of online web sources for learning scripting, it can be tough to learn tougher programming languages. Thankfully, LearnCPP.com is a great place to learn C++.

The design of the site is very 2002, but the information on it is still valuable.

These tutorials cover the basics, variables, scope, inheritance, libraries, etc. You will need a compiler on your computer since these tutorials are not completed online.

These C++ lessons cover:

  • C++ basics
  • C++ functions and files
  • How to debug C++ programs
  • What are C+ data types
  • Variable scope
  • Control flow
  • The differences between arrays, strings, pointers, and references
  • Functions
  • Object-oriented programming fundamentals
  • Operator overloading
  • Object relationships
  • Inheritance
  • Virtual Functions
  • Templates
  • Exceptions
  • The Standard Template Library
  • std::string
  • Input and output (I/O)
  • updates to C++

If you complete all of these lessons, you have the potential to know more C++ knowledge than what some people leave their first C++ college course with.

A screenshot of the W3Schools homepage.
A screenshot of the W3Schools homepage.

W3 Schools

W3 Schools is another great website that teaches the basics of programming and specific help for HTML/CSS. The website includes documentation, tutorials, and interactive activities to learn the skills.

W3 has tutorials for:

  • HTML Graphics
  • Javascript
  • XML
  • Server Side
  • PHP
  • JQuery
  • SQL

A screenshot of the CS50 course on edX.
A screenshot of the CS50 course on edX.

edX - CS50

CS50 is Harvard's actual Intro to Computer Science course. edX has the entire course online, including lecture videos, reading material, and course work. If you chose, you can get a certificate for the course (but that does cost money), however, auditing the class is free.

This course will give you an incredibly strong foundation in programming concepts and basic programming skills.

Screenshot of The Odin Project's homepage.
Screenshot of The Odin Project's homepage.

The Odin Project

The building blocks of The Odin Project are: Having a Path, Building a Portfolio, and Learning Together. This means that they focus not only on learning but also on building projects that can be a part of your portfolio and Git lab.

The curriculum covers: Web Dev, Ruby, Ruby on Rails, HTML5 and CSS3, Javascript and Jquery, and how to get hired as a web developer


Just like most skills, YouTube has tutorials for most programming basics and common questions. There are also programming and computer science lectures from colleges online.

The difficult part of using Youtube is that unlike these other sites, literally, anyone can create a tutorial an post it. On one hand, this helps to create a large amount of diverse content. On the other hand, it also means that there's no quality control to the videos, so information can be wrong.

The other benefit of using one of the programs above is that they're organized in an order that helps make learning the information more digestible.

Below are a few tutorials to start with.


    0 of 8192 characters used
    Post Comment

    No comments yet.


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, owlcation.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://maven.io/company/pages/privacy

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)