Search
Creating Dynamic Routes in a Nuxt Application
30.7.2019
In this post, we’ll be using an ecommerce store demo I built and deployed to Netlify to show how we can make dynamic routes for incoming data. It’s a fairly common use-case: you get data from an API, and you either don’t know exactly what that data might be, there’s a lot of it, or it might change....
The Simplest Way to Load CSS Asynchronously
30.7.2019
Scott Jehl:
One of the most impactful things we can do to improve page performance and resilience is to load CSS in a way that does not delay page rendering. That’s because by default, browsers will load external CSS synchronously—halting all page rendering while the CSS is downloaded...
Run useEffect Only Once
30.7.2019
React has a built-in hook called useEffect. Hooks are used in function components. The Class component comparison to useEffect are the methods componentDidMount, componentDidUpdate, and componentWillUnmount.
useEffect will run when the component renders, which might be more times than you think....
Getting design system customization just right
29.7.2019
I had a little rant in me a few months ago about design systems: "Who Are Design Systems For?" My main point was that there are so many public and open source ones out there that choosing one can feel like choosing new furniture for your house. You just measure up what you need and what you like...
Large Regulated Token Sales Indicate ICOs May Be Coming Back
28.7.2019
Initial coin offerings have seen a significant decline in popularity, but they are not to be written off completely. Although you don’t hear the term “ICO” so often nowadays, some recent regulatory developments indicate they have a place in the digital economy realm. Crowdfunding...
WATCH: The Facebook Libra Hearings: Everything You Missed in 5 Minutes
28.7.2019
From Silicon Valley to Washington, DC, Facebook's Libra is causing concern everywhere it turns up. This CoinDesk video explores what happened in the halls of power when the first major corporation joined the crypto party
Unbanked for Buying Bitcoin: How the Financial System Criminalizes Crypto
28.7.2019
When we think of the unbanked, we envisage citizens of developing nations who lack the means and documentation to obtain access. But you don’t have to be a Mongolian goat herder to find yourself financially excluded. In the West, relatively affluent citizens are having their banking services...
Hey, Gov’t Officials! Do You Still Think You Can Ban Bitcoin?
28.7.2019
Juan Villaverde is an econometrician and mathematician devoted to the analysis of cryptocurrencies since 2012. He leads the Weiss Ratings team of analysts and computer programmers who created Weiss cryptocurrency ratings.
_____________
Dear government official,
If you’re a member of Congress...
Telling the Story of Graphic Design
26.7.2019
Let me just frame this for you: we're going to take a piece of production UI from a Sketch file, break it down into pieces of information and then build it up into a story we tell our friends. Our friends might be hearing, or seeing, or touching the story so we are going to interpret and translate...
Datalist is for suggesting values without enforcing values
26.7.2019
Have you ever had a form that needed to accept a short, arbitrary bit of text? Like a name or whatever. That's exactly what <input type="text"> is for. There are lots of different input types (and modes!), and picking the right one is a great idea.
But this little story is about something...
JavaScript Proxy with Storage
26.7.2019
The JavaScript Proxy API provides a wealth of “magic” within JavaScript, allowing you to use any object as sort of an alias that allows a wall of validation, formatting, and error throwing. Did you know that you could also employ the Proxy API as an abstraction to different types...
Binance Will Now Sell You Bulk Crypto Orders Over the Counter
26.7.2019
The top cryptocurrency exchange by trading volume has launched an OTC service it's calling "block trading."
Responsive Iframes
25.7.2019
Say you wanted to put the CSS-Tricks website in an <iframe>. You'd do that like this:
<iframe src="https://css-tricks.com"></iframe>
Without any other styling, you'd get a rectangle that is 300x150 pixels in size. That's not even in the User Agent stylesheet, it's just some...
The Next Big Financial Meltdown Is Around the Corner, Many Voices Warn
25.7.2019
“The economy is looking great,” how many times have they told you that? And why do you usually hear it when you are late on a mortgage payment or during a downsizing purge at your company? Relying on your senses is always a safer bet than trusting the wishful thinking of those...
Don’t comma-separate :focus-within if you need deep browser support
24.7.2019
I really like :focus-within. It's a super useful selector that allows you to essentially select a parent element when any of its children are in focus.
Say you wanted to reveal some extra stuff when a <div> is hovered...
div:hover {
.extra-stuff {
/* reveal it */
}
}
That's...
10 Need to Know Mac Terminal Commands
24.7.2019
If you want to get into web development, knowing what the Terminal is and how to use it is very beneficial. But there are some essential commands that we’ll go over so we feel comfortable using it
Unsuck It
23.7.2019
Julia Carrie Wong and Matthew Cantor's How to speak Silicon Valley: 53 essential tech-bro terms explained was pretty hilarious. A little something in there to offend everyone.
Speaking of kinda douchey words, I'm reminded of one of my favorite sites on the internet: Unsuck It. Not only does...
Pseudo Code
23.7.2019
Yonatan Doron wrote a post on Medium not long ago called "Art of Code — Why you should write more Pseudo Code." Love that title, as a fan of pseudo code myself. That is, writing "code" that describes something you want to do or communicate, but that isn't of any particular language and doesn't...
CSS :not() with Multiple Classes
22.7.2019
Say you want to select an element when it doesn't have a certain class. That's what the :not() selector is for.
body:not(.home) {
}
But what if there are multiple classes you want to avoid?
There are no logical combinators with :not(), like and or or, but you can chain them, which...
CSS Animation Libraries
22.7.2019
There are an awful lot of libraries that want to help you animate things on the web. These aren't really libraries that help you with the syntax or the technology of animations, but rather are grab-and-use as-is libraries. Want to apply a class like "animate-flip-up" and watch an element, uhhh...