Conditionals

We are now going over conditionals in the Lynda.com course. This stuff is relatively easy to comprehend– Boolean statements and conditionals make a great pair.

~~~~
var phrase = (“Benedict Cumberbatch”);
if (phrase.length > 10) {
alert(“That is a long name!”);
}
~~~~
We didn’t go over calculations such as .length but I remembered it from Codecademy sessions I did in the summer.

I really am looking forward to this. Using Alice will be a fun challenge….