Chapter 11Canvas, SVG, and Drag and Drop
The HTML5 Herald is really becoming quite
dynamic for an “ol’ timey” newspaper! We’ve added a video with the new
video element, made our site available
offline, added support to remember the user’s name and email address, and
used geolocation to detect the user’s location.
But there’s still more we can do to make it even more fun. First, the video is a little at odds with the rest of the paper, since it’s in color. Second, the geolocation feature, while fairly speedy, could use a progress indicator that lets the user know we haven’t left them stranded. And finally, it would be nice to add just one more dynamic piece to our page. We’ll take care of all three of these using the APIs we’ll discuss in this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access