Learn How to Code

New to coding? Start here and learn programming fundamentals that can be helpful for any language you learn.

4.43 out of 5 stars
529,649 learners enrolled
  • Skill level

  • Time to complete

    Approx. 6 hours
  • Certificate of completion

    Included with paid plans
  • Prerequisites


About this course

Programming is all around us, from the take-out we order to the movies we stream. Whether you’re about to start your journey as a developer or just want to increase your digital literacy, knowing the basics of coding will be beneficial to your career. Instead of teaching a specific programming language, this course teaches programming fundamentals that can be helpful for any language you learn.

Skills you'll gain

  • Build a programming foundation

  • Learn variables and functions

  • Understand control flow


7 lessons • 0 projects • 7 quizzes
The platform

Hands-on learning

Don’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.
Animated demonstration of running code in Codecademy's learning environment
Meet the creator of the course
Zoe Bachman
Curriculum Director
Curriculum Director at Codecademy and creative technologist. She has designed a range of Codecademy courses, including Learn HTML, Learn C#, Learn Alexa, and the beginner-friendly Learn How to Code.

Learn How to Code course ratings and reviews

4.43 out of 5 stars
3,652 ratings
  1. 5 stars
  2. 4 stars
  3. 3 stars
  4. 2 stars
  5. 1 star
  • This course has been a great icebreaker into the world of programming for me! Having a visual overview of basic concepts really helps me feel equipped to learn more. I didn't even know if I'd be capable of understanding anything about coding, but this course has really boosted my confidence. I'm ready for the next thing!
    Ren M.
    Verified Learner
  • I appreciated how it explained the concepts to me in an easy-to-understand manner. Then as I got towards the end of the course it actually had me code the lesson so I could see it in action.
    Brandon H.
    Verified Learner
  • It serves as a starting point for a beginner like me and I find it very easy to understand the concepts. I have tried other learning platforms previously but always cannot finish the whole course as the content was either too deep or too dry for a beginner. Thank you so much Codecademy for providing such a beginner-friendly platform.
    Verified Learner

Our learners work at

  • Google Logo
  • Meta Logo
  • Apple Logo
  • EA Logo
  • Amazon Logo
  • IBM Logo
  • Microsoft Logo
  • Reddit Logo
  • Spotify Logo
  • Uber Logo
  • YouTube Logo
  • Instagram Logo

Unlock additional features with a paid plan

  • Practice Projects

    Guided projects that help you solidify the skills and concepts you're learning.
  • Assessments

    Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.
  • Certificate of Completion

    Earn a document to prove you've completed a course or path that you can share with your network.

Join over 50 million learners and start Learn How to Code today!


Frequently asked questions about How to Code

  • Coding involves giving a computer a set of instructions to execute using a programming language like Python or Java. While each programming language has its own way of giving instructions, they all use the fundamental programming concepts covered in this course.