JavaScript

JS

Chapter 3: Object Literals

Getting a single value out of the function

JS

Getting multiple values out of the function

JS

Anonymous functions & function expressions

JS

Immediately invoked function expressions

JS

Variable scope

JS

JS

Chapter 5: Document Object Model

JS

The DOM tree is a model of a web page

JS

JS

Working with the DOM tree

  1. Locate the node that represents the element you want to work with.

  2. Use its text content, child elements, and attributes.

JS

JS

Caching DOM queries

JS

JS

Traversing the DOM

JS

Adding or removing HTML content

JS

JS

Attribute nodes

JS

Article Summary: Understanding The Problem Domain Is The Hardest Part Of Programming

What is the hardest thing about writing code?

Here are some of the many common answers to this question:

  1. Learning a new technology.
  2. Naming things.
  3. Testing your code.
  4. Debugging.
  5. Fixing bugs.
  6. Making software maintainable.

Why problem domains are hard

Programming is easy if you understand the problem domain

What can you do about it?

If understanding the problem domain is the hardest part of programming and you want to make programming easier, you can do one of two things:

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

References:

Main page