The toggle switch we built in the previous video is only comprised of 4 elements and 4 lines of code, but it's more than we'd like to type and remember every time we need a toggle switch. What we'd like instead, is to have is a simple <toggle-switch> element we can use throughout our project. Much cleaner! To do this, we…
Read More
A simple way to make your app look more polished is to replace checkboxes with toggle switches. Most users will already be familiar with their functionality, thanks to their use throughout iOS. Building a toggle switch only requires minimal extra markup and can be animated through CSS. The technique I'm using today is based…
Read More
Most web servers are configured to send headers that tell browsers to store a local copy of all CSS, JavaScript, and images for a period of time. This local copy is called the cache. This process not only helps alleviate the load on the server, but it also helps browsers render websites faster on subsequent page loads. The…
Read More
Yea, so it's a little bit light on content at the moment. When I started working on this earlier today, I had every intention of writing at least a couple of informative posts on web development. And by a couple I mean one. So what happened? Well, Wordpress happened. I don't hide my disdain for Wordpress, but it usually…
Read More