02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoPrevious Video

OOP and DOM

<h3>Meet OOP </h3> <p>&ldquo;OOP&rdquo; means &ldquo;Object Oriented Programming.&rdquo; OOP is just a way to properly organize your code into logical components that are easier to program. Your code will be more organized, helping others to work as a team on your project: it will also reduce your code in size because OOP, through classes and objects, provides efficient ways of coding to achieve more by typing less. As you start coding and using objects, you will realize how much easier life is with OOP and you&rsquo;ll wonder how you survived without it for so long!</p> <h3>Meet DOM</h3> <p>DOM stands for &quot;Document Object Module&quot;: chances are you&rsquo;ve heard this term before and even if you haven&rsquo;t, don&rsquo;t sweat it. DOM is a very basic (and legacy) way via which our JavaScript can interact with the HTML. Remember that JavaScript is placed in the HTML file so it can interact with the HTML objects. The DOM provides the interface/language that enables JavaScript to interact with the visual and textual elements of HTML <h3>How can you learn in detail?</h3> <p>In today&#39;s world with modern 3<sup>rd</sup> party tools (such as jQuery) there are easier ways to interact with the DOM. The DOM is a bit cumbersome but if you want to learn how the environment works from scratch then we suggest you start with DOM: later on you can move to skills like Jquery. Using DOM will definitely help you to learn more and understand the structure of code in the HTML5 and JavaScript relationship. </p> <p>If at any point you feel you&#39;re over your head or have forgotten more than you&#39;d thought, simply visit the <a href="/category/developer-basics">Developer Basics Section</a> specially dedicated toward helping coders strengthen their coding basics by explaining and demonstrating the basic building blocks of any code.</p> <p>It&rsquo;s a bit early for us to get concerned about OOP and DOM; we will return to explore these topics in later videos. For now we just wanted you to have a casual introduction to these topics.</p>

Intro

It's never been easier to start learning programming in JavaScript. We live in an HTML5 world: what would be better than learning how to code with JavaScript and HTML5?

03:59

The Script Tag

You must know about script tags in order to code in JavaScript, so let’s jump into it and learn with style!

04:26

OOP and DOM

Two basics which are very important in programming and provide discipline which helps you learn and stay organized

02:45

What are Variables?

Variables are the building blocks of any language, so it's best to be very familiar with them and their usage.

01:37

Strings

Strings are an important part of programming; they can be manipulated, passed as parameters and a lot more.

10:39

Creating Javascript Comments

Comments are a great asset of programming. They will help make the code more understandable and manageable

00:52

Numbers

Math is everywhere; numbers are everywhere. JavaScript lets us use them and apply math on them, so let’s have fun and learn about Numbers in JavaScript.

09:29

Boolean

Booleans help us make important decisions in programming by proving yes or no information.

09:10