-
JavaScript Problem: Passing a JavaScript Value Between HTML Pages
In this tutorial we are going to look at passing a value from one HTML page to another. We will use two techniques: localstorage and the query string. The value we are going to pass is the number of milliseconds so that we can determine elapsed time. For more resources on JavaScript: http://www.allthingsjavascript.com Access to…
-
JavaScript Patterns: The Traditional Module Pattern
The module pattern is an important pattern to learn in JavaScript. We will dive into this pattern in this tutorial. Would you like to help keep this channel going? https://www.patreon.com/allthingsjavascript Access to EVERY course (get 2 months free): https://www.skillshare.com/r/profile/Steven-Hancock/24508 Courses offered on Udemy at a discount: Getting Started: https://www.udemy.com/learn-modern-javascript-getting-started/?couponCode=GETTINGSTARTED2019 Advanced Topics: https://www.udemy.com/learn-modern-javascript-advanced-topics/?couponCode=ADVANCED2019 Mastering Regular Expressions…
-
JavaScript Questions: What is Coercion?
Unlike many languages, JavaScript is very forgiving when it comes to data types. Coercion refers to the conversion of one type to another that JavaScript performs in certain operations. It can be a blessing at times, but also can cause problems. In this video we address the world of coercion. For a complete list of…
-
Simple Date Formatting with Vanilla JavaScript
There are now ways to format dates in JavaScript without using a library like moment.js. In this tutorial we will look at toLocaleString and how to specify date and time formats. Would you like to help keep this channel going? https://www.patreon.com/allthingsjavascript Access to EVERY course (get 2 months free): https://www.skillshare.com/r/profile/Steven-Hancock/24508 Courses offered on Udemy at…
-
JavaScript Fundamentals: What You Need to Know about the JavaScript Engine
In this tutorial we dig a bit deeper into JavaScript. We talk about the JavaScript Engine, the thing that makes all the JavaScript we write possible. Would you like to help keep this channel going? https://www.patreon.com/allthingsjavascript Access to EVERY course (get 2 months free): https://www.skillshare.com/r/profile/Steven-Hancock/24508 Courses offered on Udemy at a discount: Getting Started: https://www.udemy.com/learn-modern-javascript-getting-started/?couponCode=GETTINGSTARTED2019…
-
JavaScript Arrow Functions are More than Just Concise Syntax
So many times when we talk about JavaScript arrow functions, we talk about its concise syntax. But there is more than that. Arrow function also perform lexical this binding. We take a look at when that can be a problem in this tutorial. Would you like to help keep this channel going? https://www.patreon.com/allthingsjavascript Access to…
-
JavaScript Problem: Capitalize the First Letter of Multiple Strings
In this JavaScript problem we look at processing multiple names in order to capitalize the first letter of each name. It is a simple solution that is sometimes made more complex than it needs to be. Would you like to help keep this channel going? https://www.patreon.com/allthingsjavascript I have multiple courses offered on Skillshare (get 2…
-
Creating a blockchain with Javascript (Blockchain, part 1)
Learn how to write your own Blockchain with JavaScript. In this video I’ll show you what is behind a blockchain by using simple code. It’s not a complete implementation, but enough to understand how blockchains work and how they guarantee that blocks can never be changed. After creating our blockchain we’ll try and tamper with…
-
Guide to Mastering JavaScript
In this 100th tutorial I provide a guide for accessing all the tutorials as you continue to improve your JavaScript skills. I also provide a special offer to my courses. Getting Started for $5 and Advanced Topics for $7: http://allthingsjavascript.com/courses-special.html For more resources on JavaScript: http://www.allthingsjavascript.com Full personalized courses on JavaScript: https://http://allthingsjavascript.com/personalized.html Courses offered on…
-
The Basics of Scope in JavaScript
Whether you’re coming to JavaScript from another language, or you’re learning JavaScript as your first language, the way scope works — that is, when and where your variables are defined — might surprise you. In this instalment of Head First JavaScript Programming Teasers, you’ll learn about the basics of scope, why it’s important to limit…