DOM stands for document object model .when a html document renders into browser it is parsed to a DOM tree. In this DOM tree every html element becomes a object inside document object.
By using document then we can manipulate DOM elements.
Summary: -------- 1. Functions should hardly ever be 20 lines long. 2.Keep blocks (inside if, else, while, for, etc.) short. Ideally, j...
No comments:
Post a Comment