Download presentation
Presentation is loading. Please wait.
1
Murach's JavaScript and jQuery (3rd Ed.)
Chapter 5 © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
2
Murach's JavaScript and jQuery (3rd Ed.)
Testing vs. debugging © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
3
The three types of errors that can occur
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
4
The Future Value application with a logic error
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
5
Murach's JavaScript and jQuery (3rd Ed.)
Common syntax errors © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
6
Problems with HTML references
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
7
Problems with data and comparisons
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
8
Problems with floating-point arithmetic
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
9
Murach's JavaScript and jQuery (3rd Ed.)
Problems with undeclared variables that are treated as global variables © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
10
The Future Value application with valid data
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
11
The Future Value application with invalid data
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
12
The two critical test phases
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
13
Two common testing problems
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
14
The user interface for a Future Value application
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
15
Top-down coding and testing
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
16
Top-down coding and testing (cont.)
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
17
Chrome with an open Console panel that shows an error
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
18
Three ways to open Chrome’s developer tools
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
19
The Sources panel after the link in the Console panel has been clicked
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
20
A breakpoint in the Sources panel
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
21
The buttons and keys for stepping through the JavaScript code
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
22
How to view the current data values at each step
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
23
Murach's JavaScript and jQuery (3rd Ed.)
JavaScript with two log statements that trace the execution of the code © 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
24
The log messages in the Console panel of Chrome’s developer tools
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
25
Some of the HTML in a browser
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
26
How to view the source code for a web page in any browser
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
27
Some of the JavaScript code in a browser
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
28
The home page for the W3C validator
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
29
The validation results with one error
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
30
Short 5-1 Debug the Email List application
© 2017, Mike Murach & Associates, Inc. Murach's JavaScript and jQuery (3rd Ed.)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.