Blogs

BROWSE: Most Recent | Popular Tags |

Tags > head first

What it really means when people say “Everything in JavaScript is an object”

By Elisabeth Robson
May 30, 2014

When you begin programming with JavaScript you might run across books, tutorials, and people who say “Everything in JavaScript is an object.” While it’s not 100% true (not *everything* is an object), it is *mostly* true. And sometimes this can …

Dos and Don’ts in JavaScript

By Elisabeth Robson
May 20, 2014

  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 …

I just slipped on a banana peel named “this”

By Elisabeth Robson
May 14, 2014

In JavaScript, the special variable this is used to refer an object. But which object this refers too depends on the code you’re executing and how this is used. So, a common problem for those learning JavaScript is keeping track …

What is that upside-down tree doing in my browser?

By Elisabeth Robson
May 7, 2014

The secret to getting your web pages to do your bidding with code is to use JavaScript to manipulate the Document Object Model, or DOM. The DOM is an upside-down tree-like structure that the browser uses to represent your web …

Wait, where is my variable defined?

By Elisabeth Robson
April 30, 2014

  You may have noticed that Head First JavaScript Programming is released! Now that the book is done, we’ve got a few more Head First JavaScript Programming teasers for you. The book is aimed at those of you who are …

JavaScript Flexibility: Fun, But Use with Care

By Elisabeth Robson
May 21, 2013

When you begin programming in JavaScript, you’ll need to use variables. A variable is just a bit of storage to hold a value. Just about every line of code you write will use a variable of one kind or another, …

JavaScript Makes Browsers Behave

By Elisabeth Robson
May 14, 2013

If you know HTML and CSS, you’re ready to begin learning JavaScript. But you might be surprised, because JavaScript looks quite different from both HTML and CSS. That’s because JavaScript is a language for computation. Unlike HTML, which is for …

Cutting Your Programming Teeth on JavaScript

By Elisabeth Robson
May 7, 2013

JavaScript is a bit different from other programming languages. How? Well, JavaScript runs in an environment, and that’s usually the browser. So when you learn JavaScript, you’ll learn both the language basics, as well as how to use JavaScript in …

Location, Location, Location

By Elisabeth Robson
April 30, 2013

Everyone knows you add JavaScript to your page by putting your <script> element at the top of your HTML page, right? Not so fast. In part two of Head First JavaScript Programming Teasers, Eric explains the nuts and bolts of …

Yet another JavaScript book?

By Elisabeth Robson
April 23, 2013

Eric Freeman and I are writing a new book: Head First JavaScript Programming, and to go along with it, we’re creating a series of teaser videos to give you a taste of what’s coming in the book, and a chance …


1 to 10 of 10
The Watering Hole