Now, let’s go to the topics that were discussed in this tutorial. In the first chapter, it’ll teach you the basic syntax of JS language like the code on how to print or display your name which is
console.log("some text"), how to get the length of your input is
console.log("some text".length), the syntax how to declare a variable is
var nameOfVariable = some_value. Remember that variables can contain strings, numbers, answer to a prompt message or even a boolean value. Declaration of the conditional statement
if-else was also discussed on the first chapter, as well as computation of simple arithmetic operations. On the second part of the tutorial, the main focus of it was all about functions. The next topic that was tackled were the looping statements:
do-while, while and the
for loop. After that, arrays and objects were discussed. I didn’t have any problem in understanding arrays, I was able to absorb an understand it very well. But the lesson about objects, man oh man, I really had a hard time to understand and to fully grasp even just a single concept of it! Maybe i think it’s because of the approach of the tutorial. Sometimes it’ll give you an ambiguous instruction or sometimes the instruction is incomplete. There were even topics that weren’t discussed thoroughly. I don’t know why they did it that way, well maybe because they don’t want to spoon feed students I guess?