Coding and Debugging Your First Web Application
IN THIS CHAPTER
Reviewing code to see preexisting functionality
Writing code by following steps to create your app
Debugging your code by looking for common syntax errors
“Talk is cheap. Show me the code.”
— LINUS TORVALDS
It may not feel like it, but you’ve already done the majority of work toward creating your first web application. You painfully broke down your app into steps, and researched each step to determine functionality and design. As Linus Torvalds, creator of the Linux operator system, said, “Talk is cheap.” So let’s start actually coding.
Getting Ready to Code
Before you start coding, do a few housekeeping items. First, ensure that you are doing all of the following:
- Using the Chrome browser: Download and install the latest version of Chrome, as it offers the most support for the latest HTML standards and is available for download at
- Working on a desktop or laptop computer: Although it is possible to code on a mobile device, it can be more difficult and all layouts may not appear properly.
- Remembering to indent your code to make it easier to read: One main source of mistakes ...