DEV Community

Cover image for 10 Best Places to Learn How to Code in 2022
Richard Rembert
Richard Rembert

Posted on • Updated on

10 Best Places to Learn How to Code in 2022

There are multiple online learning platforms where you can learn how to code. Each adapts to different learning styles, so the most important thing is to find the one that best fits your own needs. In this article, I have collected 10 places where you can learn how to code in 2022 & beyond.

The platforms cover both client- and server-side programming languages and technologies. The prices are as of mid-2022. However, they might change at any time, so always check out the latest fees before you make a decision.

1. FreeCodeCamp


FreeCodeCamp is one of the most popular coding boot camps you can use. It has a vast and supportive community and almost 5,000 self-organizing Study Groups around the world. On freeCodeCamp, you can obtain certifications in a number of fields such as responsive web design, JavaScript algorithms, front-end libraries, and a few others.

Learning materials include interactive coding lessons, articles, and video tutorials. FreeCodeCamp also provides you with the opportunity to work together with non-profit organizations to get hands-on coding experience.

  • Pricing: Free.
  • Programming languages/technologies: HTML, CSS, JavaScript, databases, Git, GitHub, Node.js, React.js, D3.js.

2. Code Academy


Codecademy allows you to follow structured learning paths at your own pace. You can choose from four different paths: Computer Science, Code Foundations, Web Development, and Data Science. Codecademy lessons include projects, quizzes, videos, and step-by-step classes with online exercises you can accomplish using a live code editor. It also has a very active online forum where you can get an answer to all your questions.

  • Pricing: $15.99/month with the annual plan + 7-day free trial.
  • Programming languages/technologies: HTML, CSS, Sass, JavaScript, jQuery, Angular, React, Java, Python, Ruby, SQL, Bash/Shell.

3. Frontend Mentor


Frontend Mentor is a must for anyone looking to practice and enhance their frontend skills. It's not only a great resource to learn real-life development workflow but also to connect and network with other developers (of all skill levels) from around the world and to engage in code reviews and meaningful feedback.

All the starter codes including the assets are free to download. The Sketch and Figma design files are freely available to download for all users. These challenges allow anyone to trial premium challenges without subscribing as a Pro member.

  • Pricing: Free/ $8 or $12 for Pro Plans
  • Programming languages/technologies: HTML, CSS, JavaScript

4. Khan Academy


Khan Academy is a non-profit organization that provides free education in many different fields, including computer programming, computer science, and computer animation (in collaboration with Pixar). The courses are made up of video lectures, coding challenges, and Q&A sections. Khan Academy also hosts Hour of Code, an e-learning website that teaches programming to children.

  • Pricing: Free.
  • Programming languages/technologies: HTML, CSS, JavaScript (including games and visualizations), SQL, animation, algorithms, cryptography, and information theory.

5. The Odin Project


The Odin Project is an open-source project created by volunteers with the aim to help beginners learn to code for free. The platform offers a complete learning path to becoming a full-stack Ruby on Rails developer. Beginners can also pick up some basics that most learning platforms don’t teach such as how the web works or how to use the command line. The Odin Project prepares students for job interviews by dedicating a full course to career advice, too.

  • Pricing: Free.
  • Programming languages/technologies: HTML, CSS, JavaScript, Git, databases, Ruby, Ruby on Rails, career advice.

6. Coursera


Coursera is a popular MOOC (Massive Open Online Courses) site where you can learn multiple subjects, including software development. Courses on Coursera are high-quality, as they have been created by top-notch universities around the world. You can even earn full university degrees in Computer Science, both on bachelor's and master's levels.

  • Pricing: Free if you don’t want to earn a certificate. Otherwise, you pay on a course-by-course basis—the price depends on the publishing university. Financial aid is available in most courses.
  • Programming languages/technologies: HTML, CSS, JavaScript, Java, Python, Ruby, SQL, MongoDB, Go, and many others.

7. W3Schools


W3Schools is a free online tutorial site where you can learn both client-side and server-side technologies. It’s not related to W3C, although they both started on Tim Berners-Lee’s World Wide Web in the late 90s. You can follow the tutorials step by step and test the examples using a built-in code editor. W3Schools also has a less well-known “Exercises” section. The UI is not very nice or intuitive but you can use it to quickly pick up the basics of a programming language for free.

  • Pricing: Free.
  • Programming languages/technologies: HTML, CSS, Bootstrap, JavaScript, jQuery, AngularJS (v1.x), SQL, PHP, Node.js, Java, and more.

8. EDX


edX is a MOOC platform that hosts university-level programming courses, MicroMasters Programs, professional certificates, and online Master’s degrees. Besides universities, you can also find edX courses created by industry leaders such as Microsoft and W3C. edX courses center around online video lectures but they also contain articles, examples, and exercises—depending on the course.

  • Pricing: Without earning a certificate, it’s free. Verified certificates start from $49.00 per course.
  • Programming languages/technologies: HTML, CSS, JavaScript, C, C++, C#, Python, Java, Linux, Android, data science, iOS, and more.

9. Udemy


Udemy is a popular online learning platform where independent instructors can submit online courses in many different subjects. Courses on Udemy consist of video lectures, articles, and downloadable resources. Besides web development, you can find classes in mobile app development, game development, software testing, and eCommerce, too.

  • Pricing: You pay on a course-by-course basis; courses start at $12.99.
  • Programming languages/technologies: HTML, CSS, Sass, LESS, JavaScript, React, Angular, PHP, WordPress, C++, C#, Java, and many others.

10. Udacity


Udacity provides you with massive open online courses (MOOCs) in many different subjects like web development, robotics, virtual development, data science, and artificial intelligence. Besides individual courses, you can also sign up for nano degrees created in collaboration with notable companies such as Amazon, IBM, Facebook, and Mercedes-Benz.

  • Pricing: You have to pay by course; fees are decided by the course provider. Many courses are free (you can filter for free courses in the program catalog).
  • Programming languages/technologies: HTML, CSS, JavaScript, React, Redux, SQL, Python, VR, mobile development, Git/GitHub, and many others.

Honorable Mentions


There are several excellent websites and online platforms where you can learn how to code, even for free.

Besides having the right resources, time management is also a key concept of effective learning. So, if you have some time, also have a look at our article about the best time tracking tools.

Hope you find this article helpful in your coding journey & feel free to reach out to me if/when you have questions. Make sure to like, comment, and follow so that you don't miss the amazing content. Let me know in the comments which one you like the most.


If you liked this blog post, follow me on Twitter where I post daily about Tech related things!
Buy Me A Coffee If you enjoyed this article & would like to leave a tip — click here

🌎 Let's Connect

Top comments (10)

thec0def0x profile image

Sololearn is definitely a good shout as an honourable mention. The mobile app is so convenient and the lessons are relatively good. Udemy I’m a little bit weary of, somehow their database got breached and my password got leaked so I deleted my account there. The courses can be a bit hit and miss too, I’ve paid for a few courses and can’t understand a word the facilitator is saying.

rembertdesigns profile image
Richard Rembert

I definitely agree about Sololearn. Very underutilized IMO! And yea, i know Udemy is home of the unfinished courses but I didn't know about that breach but thanks for bringing it to my attention!

kenneth_2608 profile image
Kenneth Hong

Super useful! Thanks for sharing. I also tried some free courses on Educative and would like to recommend their Learn Python 3 from Scratch course if you want to start coding for free. It's a 12-hour course so you can cover the basics with it.

ricardochan profile image
Ricardo Chan

Great list!

rembertdesigns profile image
Richard Rembert

Thank you for reading!

bencull39289525 profile image
Ben Cullen

Great list, very useful insight into each one as well. Thank you for sharing.

rembertdesigns profile image
Richard Rembert

No problem at all!

yongchanghe profile image
Yongchang He

Thank you for sharing this!

rembertdesigns profile image
Richard Rembert

Thank you for reading!

metafox0114 profile image

Hi Polyglot.
Do you have any project to be done?
I an senior full stack but want learn more work with many people.
Best Regards.