Learn more about JavaScript

If you want to learn JavaScript and you’re about ready to dive into Head First JavaScript Programming, you can get a quick head start with this collection of videos we put together as we were writing the book. You’ll get a quick taste of JavaScript with ten topics covering everything from what JavaScript is, to the basics of variables and types, and even best practices to keep in mind as you learn how to program in JavaScript. Each video is just a few minutes long, but you’ll be surprised at how much you learn.

Coming soon to JavaScript: constants

Coming soon to JavaScript: constants

In programming you can assign values to variables. In some languages, you can also assign values to constants. What’s the difference? The values of variables can vary (which is why they’re called variables), but the values of constants can’t. In other words, you can change the value of a variable all you want, but once you’ve assigned an initial value to a constant, you can’t change it again. Its
value stays constant.

Dos and Don’ts in JavaScript

With every programming language, there’s a list of do’s and don’ts and JavaScript is no exception. Some of these best practices are there for your protection (like always always always using semi-colons!), some to make your code more readable and less error-prone, and some to increase the efficiency of your code.

Twitter API: Using OAuth to access Twitter

Twitter API: Using OAuth to access Twitter

Twitter has changed their REST API to require authentication for every request. This means that we can no longer use simple JSONP requests from our web pages to access Twitter data. In this post, I describe how to write a PHP server script to make an authenticated Twitter request using the tmhOAuth library, and create a simple web application to use that server script to access Twitter data. And if you’ve read Head First HTML5 Programming, you’ll want to read this, so you can update your Chapter 7 code!

Twitter API: Accessing timeline data

Twitter API: Accessing timeline data

In Chapter 7 of Head First HTML5 Programming, we create a JSONP web application called Tweetshirt. We use Twitter JSON data to create a tweet menu, so you can choose a tweet to add to a <canvas> element. Unfortunately, Twitter has deprecated the public API that...

Learning JavaScript Functions, Part 2

The second in a several-part series on JavaScript functions, taking you from first principles to advanced concepts. In this video, Eric describes how function names are just like other JavaScript variables: they're variable names pointing to function values....

Don't miss out!!

Don't miss out on brain-friendly WickedlySmart updates early access to books and general cool stuff! Just give us your email and we'll send you something about once a week. 

You have Successfully Subscribed!