-
Ruby on Rails – Railscasts PRO #297 Running JavaScript in Ruby (pro)
Sometimes logic needs to be shared between the server-side (Ruby) and the client-side (JavaScript). Here I show how to run JavaScript directly in Ruby through ExecJS and therubyracer. Original source
-
Google Geocode API & JavaScript Tutorial
In this video we will be working with the Google geocoding API to get all location info including latitude and longitude from an address or even from just the name of a city or state. We will build an application with a Bootstrap 4 form to interact with the API. CODE: Code for this video…
-
The ‘new’ keyword – Object Creation in JavaScript P4 – FunFunFunction #50
We explore the new keyword in JavaScript works when applied to functions. This is the old school way of faking classes in JavaScript, prior to the class keyword being introduced in ES6. (We are going to be looking at the JavaScript ES6 class keyword later in this series) # Stuff mentioned in the video: •…
-
JavaScript beginner tutorial 24 – referencing elements in JavaScript
In this tutorial I show you to reference elements on your web page using the document.getElementById() method. Don’t forget to subscribe: http://www.youtube.com/user/QuentinWatt For collaborations and business inquiries, please contact via Channel Pages: http://ChannelPages.com/QuentinWatt Social links: ————————————————————- Add me on twitter: Tweets by QuentinWatt facebook group: https://www.facebook.com/quentin.watt ————————————————————- Original source
-
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…
-
JavaScript beginner tutorial 30 – form validation text boxes and passwords
In this video I finally start speaking about form validation. I show you how to check if a form field has been left empty, and how to use a return statement in JavaScript. Don’t forget to subscribe: http://www.youtube.com/user/QuentinWatt Social links: ————————————————————- Add me on twitter: Tweets by QuentinWatt facebook group: https://www.facebook.com/quentin.watt ————————————————————- Original source
-
Modular Javascript #3 – Revealing Module Pattern Javascript Tutorial
The revealing module pattern allows us to create private variables in a Javascript Module. Here’s a writeup on this pattern: http://addyosmani.com/resources/essentialjsdesignpatterns/book/#revealingmodulepatternjavascript Here’s the code for this video: Here’s video 1 in case you missed it: We write a revealing module pattern by starting with a self-executing anonymous function also known as an IIFE (immediately invoked…
-
JavaScript Video Tutorial – Finding Items in an Array
This video shows you an example of using the two provided methods in JavaScript, indexOf and lastIndexOf, to find items in an array. Original source
-
Coding Challenge #40.1: Word Counter in JavaScript
In this Coding Challenge, I build a word counting (concordance) web application in JavaScript. The video demonstrates a use of associate arrays, regular expressions, and other techniques previously covered as part of “Programming from A to Z.” Next Video: https://youtu.be/fxQ0B6BkfKo http://shiffman.net/a2z/text-analysis/ Course url: http://shiffman.net/a2z/ Support this channel on Patreon: https://patreon.com/codingtrain Send me your questions and…
-
ECMAScript 6 Tutorial
Get the Code Here : https://goo.gl/T37Tny Best ECMAScript 6 Book : http://amzn.to/2i3oKZK Support me on Patreon : https://www.patreon.com/derekbanas 01:06 Let 03:15 Constant 04:19 Data Types 05:27 Template Literals 07:09 Tagged Template Literals 09:57 For Of 12:17 Functions 13:48 Rest Parameters 15:11 Arrow Functions 16:32 Reduce 17:19 Filter 18:00 Map 19:05 Objects 22:23 Destructoring 24:04 Classes…