There will be 12-15 lessons in this series. Thanks for reading!
Variables are used to store information to be referenced and manipulated in a program. They also provide a way of labelling data with a descriptive name (which is also called an identifier), so our programs can be understood more clearly by the reader and ourselves.
Functions enables us to reuse our code snippets multiple time, we can avoid doing the same work several times by using a function. Sometime functions are also called the building blocks of a program.
Functions can be both – pre-defined or system provided and custom (i.e. our own built).
Objects are real world entities. Something like, every person or things we get around are objects. Objects has two things – Properties and Methods.
The purpose of using objects is to logically organize complex data in our program. In general, Object Oriented Programming allows us to work with complex data in a simple and elegant way.
Okay, I’m back in this series after a break! Good to have you till this mark!
Most important things in writing software are making decisions. Decisions allows us to add intelligence in our software. Basically decision means, if certain criteria happen – then we want to do something. Otherwise, we might want to do something else. We can make our programs make decisions by writing conditional statements.
We need to know about some operators before proceeding in depth of conditional statements.
This part is a bit theoretical just like immediate previous lesson.
The loop actually means repeating codes. We can loop through any part of code as many times as we need to. Loops allow us to repeat code based upon a condition or a set of conditions. As long as the given condition is true, the loop will continue to repeat the same code over and over again. We can easily deal with arrays or big set of data through the loop.
In this part, we will start learning how to target the browser. The browser gives us a hierarchy of objects, at the very top of this hierarchy is the “window” object.
We already know about the functional scope and the global scope. Anything global can be accessed from the entire code block. But, anything inside the functional scope can only be accessed within that function.