Imagine you have a pizza. Everyone likes pizza. Well today we are going to use a very cumbersome metaphor to relate the CSS concept of Border, Padding, and Margin, to a real life, delicious pepperoni pizza.
Ever wanted to learn about the most popular programming language in the world? Well now you can! So you want to build a house, that is a metaphor for a website (we will pretend for this exercise that we live in a country where that is financially feasible). First you will need your plan and framing, this would be your HTML. HTML tells the computer what elements you have, and where they go (your DIV rooms, your < a href> doors, etc).
What if you can't see the solution for the problems? Object literals are weird to get your head around. At first, they seem so simple. You have the object itself, which is basically a container. Then you have the properties, which are made of a name and value pair. But! The properties can be objects themselves, or the name value pair could have a function in it. It gets pretty complicated fast.