Last week I created a small library for creating Toast messages. Here, I thought I would share my process in creating it and the code behind it. The HTML The Toast is made up of two elements. The Toast message itself, .toastjs, and a container element, .toastjs-container. <div class=... (continue)
Another addition to my bot army! This time, I made a very simple twitter bot for this blog, @botsofcode (Source Code). The Setup I created @botsofcode using Twit, a simple Twitter API Client for Node.js. To setup Twit, we need to first create a Twitter Application and get four... (continue)
Whenever an array is created, we have access to some native methods we can use to with the array. There are currently over 30 of these methods. In this video, which is the first part in this series, I go over the "mutator methods", which are methods that will modify... (continue)
Modal Dialogs are a tricky thing to make accessible. For visual users navigating with a mouse, creating a dialog is as simple as styling the element to look visually different from the rest of the page. However, users navigating a site via a keyboard and/or screenreader need a lot... (continue)
As I have mentioned before, every element in the document tree is just a rectangular box. Each of these boxes has a background layer that can either be fully transparent, a colour, or an image. This background layer is controlled by 8 CSS properties (plus 1 shorthand property). background-color The... (continue)
Receive a weekly newsletter with the latest post (and nothing else).
Page 1 of 15 Older