As a designer, its not expected that you have a extensive and complete knowledge of programming but having a fundamental understanding of programming is helpful and even essential for those in web design. Here are some of the concepts that you will find in almost all programming languages.
Variables are used to store data and set values. Variables typically have an identifying name and value. (such as x = 3) This is similar to the concept of variables in math.
Similar in concept to variables, arrays can hold many variables under a single name.
The syntax of a programming language is the set of rules that govern the structure. Think of the syntax as the words and grammar of the language itself.
Loops repeat a defined set of code over and over. They are usually paired with conditions to ensure they don’t loop forever.
A function is a block of code that does something. For example, the prompt function displays a dialog box asking for user input.
A great way to learn some of these concepts is through Code Combat, which is controlled through writing simple code.
Visit CODE COMBAT to have fun learning basic code.