Articles Tagged
One Way to Convert Code Indentation
A question:
If you copy a code sample that uses two-space indentation and you want to convert it to four-space indentation, what’s the *fastest* and easiest option?
Matt Stauffer, Twitter
Recreating the CodePen Gutenberg Embed Block for Sanity.io
Getting To Know The MutationObserver API
MutationObserver watches the DOM, specifically the places you tell it to, like:
document.querySelector('#watch-this');
…and it can tell you (trigger a callback) when stuff happens — like when a child is added, removed, changed, or a number of other things.
I …
New CodePen Feature: Prefill Embeds
I’m very excited this feature is ready for y’all. You can take any <pre></pre> block of HTML, CSS, and JavaScript (or any combination of them) and enhance it into an embed, meaning you can see the rendered output. Very progressive …
The Most Hearted of 2018
We’ve released the Most Hearted Pens, Posts, and Collections on CodePen for 2018! Just absolutely incredible work on here — it’s well worth exploring.
Remember CodePen has a three-tiered hearting system, so while the number next to the heart reflects …
Awesome Demos from 2018
This is an outstanding list of creative and artistic browser demos from this past year from Mary Lou at Codrops.…
The Software We Pay For
We did a Web Developer Economics series a few years ago, where we looked at the various costs of being a web developer:
…Prototyping in the Browser
Prototyping animations and interactions is vital for a number of reasons: they can make your interface feel deceptively fast, they can help focus the user on a specific task, and they can provide a better sense of the current state …