Description
Course info
Rating
(171)
Level
Beginner
Updated
Jan 29, 2015
Duration
1h 42m
Description

Web browsers don't just display web sites, they can run programs too. In this course, you'll learn how to create and run JavaScript programs in any web browser. In fact, with just a few lines of JavaScript, you will be able to entertain your friends, expose the secrets of web pages, and even turn your browser into a talking pirate.

About the author
About the author

Dan Appleman is a well known author, software developer, and speaker. Currently the CTO of Full Circle Insights, he is the author of numerous books, ebooks, and online courses on various topics (technology and other). His latest book is "Advanced Apex Programming" - advancedapex.com Personal Website http://danappleman.com.

More from the author
More courses by Dan Appleman
About the author

Tom Bousso is a high school student who started programming at the age of 9 and hasn't stopped since. He is very passionate about taking on the problem-solving challenges and thrills of crafting quality code that works just right.

Section Introduction Transcripts
Section Introduction Transcripts

Software Piracy
Ahoy Mate, I've taken over this course form your regular teachers, I'm going to show you how much fun you can have accessing external web services. You've heard about software piracy? Well I'm a real software pirate, and if you don't learn what I teach you here I'll make you walk yonder plank. You'll learn about string manipulation, and that a web browser can reach out to other servers on yonder internet, this allows you to do all kinds of fun stuff, even create a software pirate like myself. I see you've met the pirate who keeps trying to take over our course, let me introduce her to you more formally. Pirate say hello to our students. Ahoy Mate. Our pirate has visited many ports around the world, for example pirate how would you say hello in Italy? Ahoy mate. Now that's pretty cool, has she been to Russia? Ahoy mate. Anywhere else? Ahoy from Japan. That's hysterical, so you wrote this in JavaScript? Well I used JavaScript to call a pirate translation service, and then I took that and I used the Google text to speech service. A pirate translation service, what is a pirate translation service? So it's a program running on a server that takes in English and outputs pirate. Sort of like argh mate shiver me timbers, yo ho yo ho a pirates life I can't say anything more or Disney will sue me. So where is this server, and how does your program tell the server to translate text into pirate? Okay well I'll show you, but first we should introduce some new ideas.