Code Academy Assignment: Javascript


General Overview

In these Code Academy tutorials for javascript, I covered various concepts associated with Javascript and the basic syntax of it. Javascript is a programming language that is used in web development. What I found during these tutorials is that the concepts were very similar to PHP and other object oriented languages. However, one thing that differentiated Javascript from the other languages I have learned is that it provides tons of opportunities to interact with the user through popup boxes, etc.

webpage

Arrays

Similar to every other object oriented programming language I have learned, Javascript reintroduced me to the concept of arrays. However, the syntax to create arrays and access them in Javascript is different compared to the languages I have previously learned, such as PHP and Java. Once again, I was introduced to the concept of how arrays operate like grocery lists and are able to hold endless things. Arrays are terrific if you need to store different names, numbers, or anything grouped by a category in order to have easier access to it.

webpage

Loops

I was also reintroduced to the concept of loops and how they can be combined with arrays to print out a list. Additionally, I have always been mind boggled by how much time you can save by making a simple loop instead of attempting to print everything on the screen manually. While going through the tutorials for loops in Javascript, I revisited the beauty of loops and had a chance to admire them. The syntax for loops in Javascript was very similar to C++, Java, and PHP. I could not really identify a difference between the loops syntax for those languages aside from the for-each loop in PHP, which was quite intriguing.

webpage

< Return to Learning Portfolio < Return to Mod Four