A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.
One-line version to paste in your DevTools
Use $$
if your browser aliases it:
~ 108 byte version
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#What is a compose method? Compose takes a series of single parameter functions that are used as the parameters for the previous functions. The last function can take any number of parameters.
Code example:
function text(a) {
return 'item: ' + a;
}
function hello(a) {
return 'Hello ' + a;