The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript
暫譯: HTML5 必備指南:透過遊戲學習 HTML5 和 JavaScript

Jeanine Meyer

  • 出版商: Apress
  • 出版日期: 2018-11-06
  • 售價: $2,570
  • 貴賓價: 9.5$2,442
  • 語言: 英文
  • 頁數: 440
  • 裝訂: Paperback
  • ISBN: 1484241541
  • ISBN-13: 9781484241547
  • 相關分類: HTMLJavaScript
  • 海外代購書籍(需單獨結帳)

商品描述

Gain a deep, practical knowledge of HTML and JavaScript that will provide an introduction to programming and enable you to build interactive websites. This completely updated second edition explains HTML, JavaScript and CSS in the context of working examples and contains full-color screen shots of the programs in action.

You'll begin at an introductory level, learning the essentials of HTML5 and JavaScript and programming techniques. Each chapter features either a familiar game such as Hangman, Rock-Paper-Scissors, Craps, Memory, and Blackjack, or a simple type of game, such as a quiz, a maze, or animated simulations. You’ll develop solid programming skills that will help when learning other programming languages. Each chapter contains tables revealing the structure of the program with comments for each line of code.

These examples demonstrate the features introduced with HTML5.  You’ll see how to use canvas elements for line drawing. You can include your own audio and video clips, directly controlled by your JavaScript code. For example, the reward for correct completion of a quiz can be the playing of an audio clip and a video clip. You’ll also learn how to use localStorage to store high scores or game preferences on a user's computer for retrieval next time they play. The Essential Guide to HTML5 explores all of this and more.

What You'll Learn

  • Understand HTML 5 concepts with the help of easy-to-grasp, appealing examples
  • Use HTML5 to explore new avenues for application and game development on the web
  • Review important new elements of HTML 5
  • Build, test, and upload simple games to a web site. 

Who This Book Is For

Both absolute beginners and users with some knowledge of HTML who want to learn the new HTML5 features

商品描述(中文翻譯)

獲得深入且實用的 HTML 和 JavaScript 知識,這將為您提供程式設計的入門,並使您能夠建立互動式網站。本書的第二版經過全面更新,解釋了 HTML、JavaScript 和 CSS,並以實際範例的背景進行說明,包含了程式運行時的全彩螢幕截圖。

您將從入門級開始,學習 HTML5 和 JavaScript 的基本概念及程式設計技術。每一章都包含一個熟悉的遊戲,例如猜字遊戲(Hangman)、石頭剪刀布(Rock-Paper-Scissors)、擲骰子(Craps)、記憶遊戲(Memory)和二十一點(Blackjack),或是一種簡單的遊戲類型,例如測驗、迷宮或動畫模擬。您將培養堅實的程式設計技能,這將在學習其他程式語言時有所幫助。每一章都包含表格,揭示程式的結構,並對每一行程式碼進行註解。

這些範例展示了 HTML5 引入的特性。您將看到如何使用 canvas 元素進行線條繪製。您可以直接由 JavaScript 代碼控制自己的音頻和視頻片段。例如,正確完成測驗的獎勵可以是播放音頻片段和視頻片段。您還將學習如何使用 localStorage 在用戶的電腦上存儲高分或遊戲偏好,以便下次遊玩時檢索。《HTML5 基本指南》 探索了所有這些內容及更多。

您將學到什麼


  • 透過易於理解且吸引人的範例了解 HTML5 概念

  • 使用 HTML5 探索網頁應用程式和遊戲開發的新途徑

  • 回顧 HTML5 的重要新元素

  • 建立、測試並上傳簡單的遊戲到網站。

本書適合誰

本書適合完全的初學者以及對 HTML 有一定了解的用戶,想要學習新的 HTML5 特性。