JavaScript for Kids: A Playful Introduction to Programming (Paperback)

Nick Morgan

買這商品的人也買了...

商品描述

JavaScript is the programming language of the Internet, the secret sauce that makes the Web awesome, your favorite sites interactive, and online games fun!

JavaScript for Kids is a lighthearted introduction that teaches programming essentials through patient, step-by-step examples paired with funny illustrations. You'll begin with the basics, like working with strings, arrays, and loops, and then move on to more advanced topics, like building interactivity with jQuery and drawing graphics with Canvas.

Along the way, you'll write games such as Find the Buried Treasure, Hangman, and Snake. You'll also learn how to:

  • Create functions to organize and reuse your code
  • Write and modify HTML to create dynamic web pages
  • Use the DOM and jQuery to make your web pages react to user input
  • Use the Canvas element to draw and animate graphics
  • Program real user-controlled games with collision detection and score keeping
With visual examples like bouncing balls, animated bees, and racing cars, you can really see what you're programming. Each chapter builds on the last, and programming challenges at the end of each chapter will stretch your brain and inspire your own amazing programs. Make something cool with JavaScript today!

Ages 10+ (and their parents!)

商品描述(中文翻譯)

JavaScript是互聯網的程式語言,是使網頁變得強大、你最喜歡的網站互動性增強、線上遊戲更有趣的秘密武器!

《JavaScript for Kids》是一本輕鬆有趣的入門書,通過耐心、逐步的例子和有趣的插圖來教授編程基礎知識。你將從基礎知識開始,如處理字符串、數組和循環,然後進一步學習更高級的主題,如使用jQuery建立互動性,使用Canvas繪製圖形。

在學習過程中,你將編寫遊戲,如尋找埋藏的寶藏、猜字遊戲和貪吃蛇。你還將學習如何:
- 創建函數以組織和重用代碼
- 編寫和修改HTML以創建動態網頁
- 使用DOM和jQuery使你的網頁對用戶輸入做出反應
- 使用Canvas元素繪製和動畫圖形
- 編寫具有碰撞檢測和計分功能的真實用戶控制遊戲

通過彈跳的球、飛舞的蜜蜂和賽車等視覺示例,你可以真正看到自己的編程成果。每一章節都建立在上一章節的基礎上,每章結束時的編程挑戰將激發你的創造力和激發你自己的驚人程序。今天就用JavaScript創造一些酷炫的東西吧!

適合10歲以上的孩子(和他們的父母!)