Skip to content

Instantly share code, notes, and snippets.

View dealonzo's full-sized avatar

Denis Castro dealonzo

View GitHub Profile
@threepointone
threepointone / 0 basics.md
Last active March 21, 2023 01:53
css-in-js

A series of posts on css-in-js

0. styles as objects

First, an exercise. Can we represent all of css with plain data? Let's try.

let redText = { color: 'red' };
@Foxandxss
Foxandxss / modulepattern.md
Last active November 6, 2020 17:44
Module pattern Javascript (Español)

Scopes en Javascript:

Si haces algo en plan:

var a = 10;

function foo() {
  console.log(a);
}