by Elisabeth Robson | Mar 14, 2013 | blog, Featured, JavaScript, JSVideo, podcast, Teaser Video, Video
Getting JavaScript in your pages, the right way Everyone knows you put 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 the <script>...
by Elisabeth Robson | Oct 12, 2012 | blog, JavaScript
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...
by Elisabeth Robson | Jul 7, 2012 | Beginner's Mind, blog, Programming, Reader Question
Another great question from a reader of Head First HTML5 Programming is about passing functions as values. This comes up when using the Geolocation API: the way you get your location is to call the built-in function getCurrentPosition() and pass in two arguments, both...
by Elisabeth Robson | Jul 6, 2012 | Beginner's Mind, blog, Programming, Reader Question
A couple of weeks ago, I got a great question from a reader of Head First HTML5 Programming: What is a API? Is it like a constructor function or is it just an object or something else? We use the term “API” frequently in Head First HTML5 Programming...
by Elisabeth Robson | Feb 16, 2012 | blog
Web Sockets is a new addition to HTML5 that allows you to create a persistent connection with a server for communication. With Ajax, because you’re using HTTP to communicate, the connection between your client and the server must be reestablished each time you...
Comments