
上QQ阅读APP看书,第一时间看更新
Chapter 2. Preparing for the Battle
Now that you understand what technologies make up HTML5, we can start getting our hands dirty. But before we jump right into coding HTML, CSS, and JavaScript, we need to cover the fundamentals of the first step of developing a project, asset preparation. Without a design, assets, and content, your web pages won't be very appealing or, for that matter, functional. During the preparation we will also dig into the syntax specification for JavaScript and how it's related to ActionScript 3, to prepare us for full-fledged development in Chapter 3, Scalability, Limitations, and Effects.
In this chapter we will cover:
- The preparation of common assets such as images, audio, and video for use within an HTML5 document
- In-browser code outputs and debugging
- The basics of JavaScript and the syntax variance from ActionScript 3
- Examples of JavaScript in action and the proper methods for code execution