Nick Morgan's JavaScript for Kids: A Playful Introduction to Programming PDF

By Nick Morgan

ISBN-10: 1593274084

ISBN-13: 9781593274085

JavaScript is the programming language of the net, the key sauce that makes the internet extraordinary, your favourite websites interactive, and on-line video games fun!

JavaScript for children is a lighthearted advent that teaches programming necessities via sufferer, step by step examples paired with humorous illustrations. You’ll start with the fundamentals, like operating with strings, arrays, and loops, after which circulation directly to extra complicated subject matters, like construction interactivity with jQuery and drawing pictures with Canvas.

Along the best way, you’ll write video games similar to locate the Buried Treasure, Hangman, and Snake. You’ll additionally find out how to:

Create services to arrange and reuse your code
Write and regulate HTML to create dynamic internet pages
Use the DOM and jQuery to make your web content react to consumer input
Use the Canvas point to attract and animate graphics
application actual user-controlled video games with collision detection and ranking keeping

With visible examples like bouncing balls, lively bees, and racing vehicles, you could rather see what you’re programming. each one bankruptcy builds at the final, and programming demanding situations on the finish of every bankruptcy will stretch your mind and encourage your personal extraordinary courses. Make anything cool with JavaScript today!

Ages 10+ (and their parents!)

Show description

Read or Download JavaScript for Kids: A Playful Introduction to Programming PDF

Best javascript books

Download e-book for kindle: Professional JavaScript for Web Developers (3rd Edition) by Nicholas C. Zakas

An important replace to a bestselling JavaScript book
As the main scripting language for the internet, JavaScript is supported through each sleek net browser and permits builders to create client-side scripts that make the most of gains akin to animating the canvas tag and allowing client-side garage and alertness caches. After an in-depth creation to the JavaScript language, this up-to-date version of a bestseller progresses to collapse how JavaScript is utilized for net improvement utilizing the most recent net improvement applied sciences. Veteran writer and JavaScript guru Nicholas Zakas indicates how JavaScript works with the recent HTML5 in addition to different major advances in internet improvement because it pertains to JavaScript.

* starts off with an advent to JavaScript fundamentals after which strikes directly to extra complex themes concerning JavaScript and advances in internet improvement technologies

* Describes how JavaScript is applied into HTML5

* Covers browser/feature detection in scripts, event-driven JavaScript improvement, blunders reporting and debugging, offline software and information garage, and more

Professional JavaScript for internet builders, third variation is an authoritative JavaScript source that each internet builders must have.

Download e-book for iPad: XML and Perl by Mark Riehl

When you are a Perl programmer seeking to discover Perl's XML services or an XML developer with a easy realizing of Perl, this e-book provides you with all of the instruments required for XML processing with Perl. XML and Perl teaches you to create moveable, strong, and extensible functions in the event you use XML and Perl jointly.

Download e-book for iPad: Programming the BeagleBone Black: Getting Started with by Simon Monk

Software your personal BeagleBone Black tasks! construct artistic BeagleBone Black devices--no past programming or electronics event required. In Programming the BeagleBone Black, electronics guru Simon Monk explains crucial program improvement tools via easy instructions and funky downloadable examples.

AngularJS Directives Cookbook by Fernando Monteiro PDF

Expand the features of AngularJS and construct dynamic internet purposes by way of growing custom-made directives with this option of greater than 30 recipesAbout This BookLearn the best way to expand HTML templates in new how one can construct even higher internet purposes with unparalleled interface componentsBuild reusable directives for large-scale AngularJS applicationsCreate even subtle and ambitious sleek internet apps with easeWho This publication Is ForThis ebook is for builders with AngularJS adventure who are looking to expand their wisdom to create or customise directives in any kind of AngularJS software.

Extra resources for JavaScript for Kids: A Playful Introduction to Programming

Example text

You only have to visit a couple of websites to see why JavaScript is so exciting. • JavaScript lets you play music and create amazing visual effects. com/), as shown in Figure 1-1. • JavaScript lets you build tools for others to make their own art. com/) is a kind of virtual “drum machine” that creates all kinds of cool noises—and cool animations to go along with them—as shown in Figure 1-2. 4 Chapter 1 Figure 1-1: You control the flashing cursor in HelloEnjoy’s “Lights” music video. Figure 1-2: When you visit Patatap, try pressing a bunch of keys to make different noises!

Let’s try something harder. What’s 12,345 plus 56,789? 12345 + 56789; 69134 That’s not so easy to work out in your head, but JavaScript calculated it in no time. You can add multiple numbers with multiple plus signs: 22 + 33 + 44; 99 JavaScript can also do subtraction . . 1000 - 17; 983 and multiplication, using an asterisk . . 123 * 456; 56088 and division, using a forward slash . . 25 Here it gets a bit tricky, because the result of this calculation (the answer) will depend on the order that JavaScript does Data Types and Variables 15 1234 + 57 * 3 - 31 / 4 each operation.

When we ask for the value secondsInADay at u, we get 86400, which is the number of seconds in a day. var hoursInADay = 24; var secondsInADay = secondsInAnHour * hoursInADay; u secondsInADay; 86400 Seconds in a Year Finally, we create the variables daysInAYear and secondsInAYear. The daysInAYear variable is assigned the value 365, and the variable secondsInAYear is assigned the value of secondsInADay multiplied by daysInAYear. Finally, we ask for the value of secondsInAYear, which is 31536000 (more than 31 million)!

Download PDF sample

JavaScript for Kids: A Playful Introduction to Programming by Nick Morgan


by Paul
4.5

Rated 4.48 of 5 – based on 47 votes