6 free websites that will teach you to code

6 free websites that will teach you to code header image

No matter if you’re fresh out of high school or nearing retirement, it’s never too early or too late to learn how to code. There are tons of online resources available for those who are interested in web development, many of which are completely free. We’ve rounded up a couple of our favorite free coding resources to use if you’re interested in learning how to code.

W3 Schools

w3 schools

As one of the most well-known developer resources out there, W3 Schools is a great starting point for prospective coders. The site’s tutorial section offers free lessons on HTML, CSS, JavaScript, XML, and much more. It’s also a helpful source of reference material once you start building websites and completing projects. Visit W3 Schools.

Hour of Code

Hour of code

If you’d like to learn coding skills but don’t have a lot of time to dedicate to lessons, this resource from nonprofit Code.org is a great solution. Lessons are broken down into small, one-hour increments so you can can learn at your own pace, and are available in 45 languages. Visit Hour of Code.



Once you’ve signed up for a free account on Codecademy, you’ll have access to their many tracks of coding lessons. Learn the basics of HTML and CSS or dive deeper into other programming languages like Python, Ruby, and more. Visit Codecademy.

Khan Academy

Khan Academy

Khan Academy is well known for its wealth of free lessons on a variety of topics, but you may not have known that they offer coding lessons as well. Whether you’re a complete beginner or have a little experience under your belt, you can find valuable lessons that suit your level of expertise. Visit Khan Academy.



If you’re a teacher or you have a child who could use some educational entertainment, CodeCombat could be just the thing you’re looking for. Kids play through a real game that teaches them how to code as they go—making everyone happy as they’re provided with hours of learning and fun. Visit CodeCombat.

MIT OpenCourseWare

MIT OpenCourseWare

MIT’s initiative to make all of their undergraduate- and graduate- level courseware available and open to the public is applaudable in itself, but it also has some great resources for aspiring coders. While this is a more time-intensive option than many other coding programs, you can get a thorough education from their collection of computer science courses at an incredible value—free. Visit MIT OpenCourseware.

Want more website tips, tutorials, and tricks? Subscribe to the Name.com blog to get weekly digests delivered straight to your inbox.