JavaScript is a language of real beauty! It is a programming language used to make web pages interactive. It is one of the most popular programming language in the world – due to its syntax beauty, powerful usability and relativly low learning curve.

In this series, I’m going to touch the very basics of JavaScript language – for absolute beginners. If you are an intermediate or top level programmer in JavaScript then this is probably something not suitable for you.

There will be 12-15 lessons in this series. Thanks for reading!

 

 

 

 

 

JavaScript 101 – Lesson 05 – Creating Our Own Objects

JS101

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.

JavaScript data types begin with an uppercase letter. These are also called built in data types. When we see any function begins with an uppercase letter – we can understand that this is a data type. This type of casing is called ‘Pascal Casing’ – it’s all like camel casing except first letter of first word also begins with a capital letter. Like –
Continue reading

 

JavaScript 101 – Lesson 06 – Digging into Arrays

JS101

Welcome back in JavaScript 101 series. In this lesson I’m going to talk about arrays.

The Array is a very important concept in any programming language, same here for JavaScript! So, I decided to write a full lesson on this data type.

The array is a built in data type in JavaScript, like String, Boolean, etc. The purpose of the array is to store a collection of values or sequence of values, obviously similar type values. An array can have any type of values, we can also mix them in a single array if we want. But in general, we use the same type of values in a single array.
Continue reading

 

JavaScript 101 – Lesson 07 – Decision Making and Adding Intelligence

JS101

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.
Continue reading

 

JavaScript 101 – Lesson 08 – Digging into Loops

JS101

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.
Continue reading

 

JavaScript 101 – Lesson 09 – The Window Object

JS101

Welcome back to our JavaScript 101 series! Sorry for the long break from my side 🙁

 
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.
Continue reading

 

Leave a Comment.