I’ve decided to start a new venture even though I have another project in the wings as well as many more. Never mind at least I’ll stay busy helping other people with their education and honing their talent.
What is an object
Arithmetic operator’s, BODMAS & concatenation
Arithmetic will always be important, writing equations is what programmers will ultimately do when creating more complex applications. But understanding all the arithmetic operator's can be a little difficult to begin with. This lecture will first show you all the arithmetic operator's from addition, subtraction, multiplication, division and modulus.
Variables & assignment
Key creation, assignment, deletion & embedded objects
We can use the analogy of boxes inside of boxes, a grouping together of variables or smaller boxes. Variables can contain primitive data and functions just like keys can do in objects. So the best analogy we can use is boxes inside of boxes, each box has a key and we can access each box when requesting that key. This very simple concept can evolve our application's to have an amazing amount of potential and give more flexibility and structure.
Functions are vital in any language to create verbs, actions performed in our program. Without functions we would be hopeless in making our app move and do certain tasks. This is why it's so important to understand what a function is. Also we'll answer important questions like. What is the difference between instantiating a function and invoking a function? What is an argument and what is a parameter? These questions must be answered, many even today get the terminology of arguments and parameters mixed up. Also what can you pass into a function? Can you control the final output of a function, and so on.
Constructors Part 2
Scoping, as most things, confused a simpleton like me. If you're new to programming you'll need to know what we call scoping. In fact we've even been exposed to the global scope or window object already. So now it's time to really look further into scoping.
When you cross a road your mind automatically asks itself questions and compares data. You don't necessarily notice this happening in your mind however asking questions is important. Your program's likewise need to adapt to certain situations and ask questions by comparing data. That way they are flexible and depending on the data the app receives our program can respond.
If statement's will allow us to ask question's and, depending on the circumstances, execute its context. An if statement is in-fact a function, however its execution context isn't executed by invoking it directly like a regular function. This time the context is only executed when a condition or set of conditions is met. In this lecture we'll look at the if and else statements and how they allow us to chain execution contexts together.
If statements Part 2
Practical for loops
Practical for loops are very important to really understand why we want to use for loops in our day to day lives. Programming is not only about learning the syntax but also understanding the why you want to put something like the for loop into practice.
Understanding the document object
Targeting DOM element’s
Returning the entire document object is not beneficial when working with the DOM. In this case we'll run some methods on the document object and have a single object returned for one DOM node. Modifying this object will effect the DOM element itself, also we'll look at targeting multiple DOM element's that are returned in an array.
Events are listening out for interactivity by the user. It also could include a change in state; for example you could trigger an event if the HTML5 video player was playing, paused or in the stop position. This allows us to create interactive pages and show, hide or update content to notify the user. This is why it's so important to understand events.
This keyword explained
Changing elements' content
Changing element style's
Create and append DOM element
This final project will sum up most of what we’ve already learn’t throughout this course. It will consist of three simple drop down menus with each menu changing a CSS property on a div element. We’ll be looking at adding an event onto each select drop down via a for loop. Once the events have been added we can then review the callback function or what’s know as a higher order function.