Senin, 31 Januari 2011

By Adam Dachis

Learn to Code: The Full Beginner's Guide

Learn to Code: The Full Beginner's GuideIf you've been looking to learn how to code, we can help you get started. Here are 4.5 lessons on the basics and extra resources to keep you going.

Learn to Code: The Full Beginner's GuideVariables and Basic Data Types
In our first lesson we're going to be taking a look at how to store different kinds of variables

Learn to Code: The Full Beginner's GuideWorking With Variables
Now that you know a thing or two about basic variables and data types, we're going to play around with them and see how they work.

Learn to Code: The Full Beginner's GuideArrays and Logic Statements
In this lesson we're going to start with arrays, which are a more complex type of variable, and then move on to for loops and if statements, which let you add conditional logic to your code. This is where things get tough, but also very cool.

Learn to Code: The Full Beginner's GuideUnderstanding Functions and Making a Guessing Game
In our last lesson we're going to learn all about functions and then write one to make a very simple JavaScript guessing game.

Learn to Code: The Full Beginner's GuideBest Practices and Additional Resources
In our "Learn to Code" epilogue we take a look at some programming best practices and provide a whole bunch of resources to help you take the next steps.


You can contact Adam Dachis, the author of this post, at adachis@lifehacker.com. You can also follow him on Twitter and Facebook

Number of comments
  • Share this: