This interactive tutorial engages the student as they learn how to create and use variables in computer languages. It is designed for beginning web and programming programs.
- Give examples of every day objects that are used like variables.
- Create a variable using the keyword var.
- Initialize a variable using the assignment “=” operator.
- Describe when to use the keyword var as well as when that is redundant.
A case study and code walk through is included giving the students a sense of how variables are used. The case study involves a basic form and a feedback page showing the user’s input.