reading-notes

Why problem domains are hard?

The real world is a messy place. Many of the problem domains we face as programmers are difficult to understand and look completely different depending on your viewpoint.

Programming is easy if you understand the problem domain

What can you do about it?

1-Make the problem domain easier 2-Get better at understanding the problem domain

WHAT IS AN OBJECT?

Objects group together a set of variables and functions to create a model of a something you would recognize from the real world. In an object, variables and functions take on new names.

xx

The Document Object Model (DOM) s:

specifiehow browsers should create a model of an HTML page and how JavaScript can access and update the contents of a web page while it is in the browser window.

STEP 1: ACCESSTHE ELEMENTS STEP 2: WORK WITH THOSE ELEMENTS