Created by two guys named Zach and Ryan because they were frustrated by common pitfalls not explained well in videos and guides, Code Academy is my next venture into the teaching myself more about programming.
I was guided to this website somehow from mozilla’s homepage so I’m assuming they’re backed by mozilla as well as chrome because if you try to use this resource in internet explorer, you’ll get an alert telling you your browser is incompatible with Code Academy.
My first experience with Code Academy was great. The directions come on the side, right next to a built in javascript editor so you can edit while reading the directions. In past blog entries, I had to split screen videos next to my notepad++ editor which was terribly inefficient. I would have to fullscreen the video so I could see the all of the terrible 480p coding, while minimizing my notepad++ window as small as possible to the side so I could still see the video in good enough quality.
The first thing I did in Code Academy was run through the basics again.
// denotes comments and aren’t ran as javascript programming
prompt( prompts the user to type something in. It’s basically a sweeter version of alert(
.length displays the amount of letters in the word that precedes it in quotation marks
numbers are quantities, you can write code with numbers to make it do math for you
strings are sequences of characters AND numbers
boolean are evaluated as true or false statements
Of all the learning tools so far that teach you logic for true or false statements, I like Code Academy the best so far. Most tutorials just say the usual “booleans means true/false herp derp”, Code Academy actually forces you to test it out in section III of the tutorial.
Something new I’ve encountered in this tutorial is a command called console:
console.log()
That’s all for this entry. I’ll go into more today in the next one to cover things that weren’t so review. I’ve familiarized myself with the basics and now I have to create progress by diving into aspects of java that I don’t know yet.
