Alert popups are a great way to notify your visitors. Since I recently had to implement an alert popup with jQuery on an older site, I thought it could be interesting to share its code.
I wanted my alert popup to achieve a couple of things:
It should be highly reusable
If dismissed by a user it should stay dismissed
It should be easy to implement and expand
The following example is made to work w
Variable fonts have been officially supported by most browsers for quite a while. However usage of them didn't start to pickup until very recently. Here's a run down of how they work, and why you should start using them now.
What are Variable Fonts?
While a standard typeface comes with different files for weights, italics and other styles, a variable font is a single file that allows you to control its weight and other properties through variables.
In short, variable fonts are highly cus
React Spring is a fantastic animation tool, but it's not the most straight forward. In this article we'll go through how to build an infinite React Spring carousel.
Edit 8/9/2020: I've made some significant improvements to the carousel script in this article. These include:
Autofitting the carousel to its container
Back and Forward buttons
More clear options
Before we go any further let me show you what the final product of an infinite react spring carou