-
JavaScript Tutorial For Beginners #9 – Math Operator Short-hand
Hey guys. In this JavaScript tutorial I want to build on what we’ve already learnt about mathematical operators, and show you a few cool short-hand notation versions that will save you time. += is the short-hand for adding to the current variable -= is the short-hand for subtracting from the current variable *= is the…
-
JavaScript Tutorial For Beginners #35 – Changing Element Attributes
Yo ninjas, so in this javascript lesson I want to build on the last tutorial by introducing the getAttribute and setAttribute methods for changing the attributes on your HTML elements. getAttribute allows us to read the value of any given attribute, and setAttribute allows us to set the attribute value to whatever we want. If…
-
JavaScript Tutorial For Beginners #33 – Traversing the DOM
Hey all, in this JavaScript tutorial for beginners, I’ll explain how we can reach into the DOM and grab content (nodes) from the DOM tree, such as elements, classes and ID’s. And I’ll also explain how we can search ‘within’ tags under different scopes to find child elements. In this tutorial we’ll learn three JavaScript…
-
JavaScript Tutorial For Beginners #43 – Accessing Form Elements
Yo ninjas, in this JavaScript tutorial I’ll show you how to access form elements and work with their properties and methods in JavaScript. In particular, we’ll look at the onblur and andfocus method in this tutorial. SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== ========== CSS for Beginners Playlist ========== ========== HTML…
-
JavaScript Tutorial For Beginners #28 – Creating a new JavaScript Object
Hey ninjas, in this JavaScript tutorial for beginners, we’ll make our very own object using the car analogy from the last lesson. I’ll show you how to create the object, add properties and methods, and finally how to use the shorthand notation to do this. As always, if you have any questions, fire away :).…
-
JavaScript Tutorial For Beginners #12 – If Statements
Hi all. In this JavaScript tutorial for beginners, we’re going to take our first look at control flow – if statements. If statements are alive everywhere you look in the world. If you perform an action, there will be a corresponding reaction or result. This concept is used in programming too. If statements can be…
-
JavaScript Tutorial For Beginners #27 – Introduction to Objects
Hey ninjas, in this tutorial I’ll introduce you to objects in JavaScript. SUBSCRIBE TO CHANNEL – https://www.youtube.com/channel/UCW5YeuERMmlnqo4oq8vwUpg?sub_confirmation=1 ========== JavaScript for Beginners Playlist ========== ========== CSS for Beginners Playlist ========== ========== HTML for Beginners Playlist ========== ========== The Net Ninja ============ For more front-end development tutorials & to black-belt your coding skills, head over to –…
-
JavaScript Tutorial For Beginners #26 – Arrays
Hey guys, in this JavaScript tutorial I wanted to show you how to make arrays and how we store pockets of informations in them. Arrays can be (virtually) endless in the amount of pockets they can hold, certainly enough for any client side script. The biggest indicator someone is using an array is the square…
-
javascript tagged template strings in ES6 (new string functions tutorial )
Understanding new template strings and string functions that are part of ES6 / ES 2015 release. – Introduction to template string – interpolation in string templates – Tagged string templates – New functions such as startsWith, endsWith, includes, repeat and String.raw startsWith endsWith includes repeat Original source
-
JavaScript Tutorial For Beginners #21 – Variable Scope
Hey all, this JavaScript tutorial for beginners will introduce the concept of variable scope. Variables can have either global or local scope. A global variable is initialized at the ‘top-level’ of your document, and can be used anywhere within your document after it has been declared. A local variable has only local scope, and can…