The Ultimate Guide to JavaScript Algorithms: Range Sum
5.4.2019
Sometimes, while performing mathematical calculations, there comes the need to sum up a range of numbers. Some programming languages make this easy by implementing helper functions that enable one
Collective #505
4.4.2019
CSSBattle * Yet Another JavaScript Framework * x-ray * A progressive disclosure component * Gimli
Collective #505 was written by Pedro Botelho and published on Codrops
Decaying Sites
4.4.2019
Websites have a tendency to decay all by themselves. Link rot, they call it. Unpaid domain name registrations. Companies that have gone out of business. Site owners that have lost interest. What's sadder than a 404? Landing on a holding page of a URL that used to exist, but now has fallen into...
A Couple of New Wufoo Tips
4.4.2019
(This is a sponsored post.)
High fives to Wufoo, our long-time sponsor here on CSS-Tricks. It's powered the vast majority of forms I've built over the past decade. If you've never used it or heard of it: it's a form builder. It makes the arduous task of implementing forms trivially easy. Building...
Inspirational Websites Roundup #3
4.4.2019
A fresh selection of unique web designs from around the web. Our third creative websites compilation to get you inspired.
Inspirational Websites Roundup #3 was written by Mary Lou and published on Codrops
WDRL — Edition 262: Clarity and Style, Humane by Design, 10 Years In The Web, and Almost No One.
4.4.2019
Hey,
For the last three weeks I put WDRL aside and it emerged all from one discussion with Tobias in which we found out that I constantly tend to take on too many opportunities in parallel and then struggle. Honestly, I think I’m too interested in too many things in the world and see so many ways...
Validating a Login Form With React
4.4.2019
For almost every form that you create, you will want some sort of validation. In React, working with and validating forms can be a bit verbose, so in this article we are going to use a package call
Fixed Headers, On-Page Links, and Overlapping Content, Oh My!
3.4.2019
Let's take a basic on-page link:
<a href="#section-two">Section Two</a>
When clicked, the browser will scroll itself to the element with that ID: <section id="section-two"></section>. A browser feature as old as browsers themselves, just about.
But as soon as...
Responsible JavaScript
3.4.2019
We just made a note about this article by Jeremy Wagner in our newsletter but it’s so good that I think it’s worth linking to again as Jeremy writes about how our obsession with JavaScript can lead to accessibility and performance issues:
What we tend to forget is that the environment websites...
What Are Design Tokens?
3.4.2019
I’ve been hearing a lot about design tokens lately, and although I’ve never had to work on a project that’s needed them, I think they’re super interesting and worth jotting down a few notes about. As I understand it, the general idea is this: design tokens are an agnostic way to store variables...
Crossroads Slideshow
3.4.2019
An experimental slideshow with an inclined look, three slide previews and a content view on click.
Crossroads Slideshow was written by Mary Lou and published on Codrops
Building a Custom Sitemap for Your Gatsby.js Site
3.4.2019
Building static sites with React.js using Gatsby.js seem to be more and more a topic of debate when you require an easy to deploy setup, blazing fast speed and smooth developer experience. Gatsby h