Reminder to self:
Basic Data Types in Javascript...
text: a sequence of characters (also known as a "string" in various programming languages)
number: in JavaScript, numbers can be integers or decimals.
boolean: true or false data. Anything that has two scenarios (on/off, yes/no, left/right, etc)
Showing posts with label data. Show all posts
Showing posts with label data. Show all posts
Sunday, January 4, 2009
Chapter 1 Summary
In chapter one of Head First JavaScript I learned about alerts, events, and functions. I also learned some basic ingredients of interactivity - onclick and onload. I am unclear what "var" means (though I know it's important in the code) and am looking forward to learning this later in the text.
The next chapter is entitled "storing data" so it seems a little more important than how to annoy users with an automatic greeting on page load. I'll let you all know how it goes.
(edited to add: variable is explained on page 44)
The next chapter is entitled "storing data" so it seems a little more important than how to annoy users with an automatic greeting on page load. I'll let you all know how it goes.
(edited to add: variable is explained on page 44)
Subscribe to:
Posts (Atom)