The Promise of a Burger Party

Avatar of Chris Coyier
Chris Coyier on

Let’s put those CSS skills to work! Claim $50 in free hosting credit on Cloudways with code CSSTRICKS.

Mariko Kosaka with an elaborate and wonderful metaphor.

What is a Promise in JavaScript? It’s like if you go to a restaurant and order a burger and a shake. The restaurant needs to prepare your food, so after you pay, you get a tray with a buzzer on it. The tray is the Promise.

Direct Link →