ENG1003 Study Guide - Final Guide: Web Application, Hutchison 3G, Javascript

98 views20 pages

Document Summary

An in-memory representation of the page constructed by the browser from html and additional resources. Dom instance holds information about the layout and style of everything on the web page (consists of an upside-down tree of nodes) Used to create, modify and query content & info on the web page display. Debugging is the process of systematically removing errors or bugs from the logic and code of a program. The process of debugging generally involves having a understanding of the intended correct behaviour of the running program and verifying where the actual behaviour of the program diverges from this intended behaviour. While debugging code that works with data structure like lists, trees, arrays, it can be useful to draw these structures visually to understand why something is not working. If task has to be performed multiple times at different locations in code, the code that performs the task needs to be repeated in each of these places.