Web Page Animation Options

If you want to add animation to a website, you can many options. Here are a few I recommend. CSS transitions For simple animations, you can just use CSS transitions. Greensock JavaScript Animation Library For fancy animations where you still write JavaScript to control the animation, the Greensock JS library is great. svgator (free trial) […]

Read More

Easily Remove Background From Photos

When building a website, you’ll often find yourself needing to remove backgrounds from photos of people. This can be especially difficult when a person’s hair is wispy and its color blends in with the background. Though not perfect, there’s a free, quick and pretty decent online tool to remove backgrounds from photos of people. No […]

Read More

Test and Debug Websites in Internet Explorer 11 on a Mac Using VirtualBox and Serveo

As of this posting, the global usage of IE 11 stands at 2.5% according to caniuse.com. If that percentage is still too high for you to ignore, then you’ll need to test your website in IE 11. Many developers use Macs for web development. Though you can test websites in Chrome, Firefox and Safari on […]

Read More

Console.log Displays Incorrect JavaScript Object Values

When you’re debugging some JavaScript in a browser, you might get confused to find that when you dump an object’s value to the console, you get unexpected results. Consider the sample code below. See the Pen Test JSON Dump by Abdullah Yahya (@javanigus) on CodePen. Here’s what you see in the Chrome console. The first […]

Read More

Show Date & Time in User’s Local Time Using Moment.js

This will show the date and time 2018-08-02T10:00-07:00 in a user’s local time. To simulate being in a different timezone, change your timezone in your operating system and reload this page. See the Pen Show Date & Time in User’s Local Time by Abdullah Yahya (@javanigus) on CodePen.

Read More

JavaScript Countdown Timer Using Moment.js

The countdown timer will disappear after it reaches zero. See the Pen KrMRvd by Abdullah Yahya (@javanigus) on CodePen.

Read More

Remove Page Breaks / Dividers in Google Docs

In this day in age, we don’t need to print as much as we used to. While Google Docs will allow you to print pages of content, sometimes you just want to use it as a digital document to keep notes and pictures that you’ll never print. When you insert pictures into a Google Doc, […]

Read More

Using JavaScript to Temporarily Prevent Clicks and Form Submissions

When you test interactivity of a web page by clicking a link or submitting a form, you sometimes don’t want to be redirected to a new page. Using JavaScript in your browser’s console, you can easily make this happen. Open your browser’s inspector and inspect the element (link or button) that when clicked on, won’t […]

Read More

How to F*$%-ing Hide Content in HTML Emails in Outlook on Windows!

Here’s how you f*$%-ing do it! Just wrap the content you want to f*$%-ing hide in this client-specific conditional. <!–[if !mso 9]><!–> This will not appear in Outlook on Windows. <!–<![endif]–> Since you’re probably using HTML tables to structure your emails, and you’re probably using CSS classes to hide and show different duplicate content for […]

Read More

Use PHP’s Built-in Web Server for Quick, Local Development

I recently need to build a simple PHP script but I didn’t feel like spending a lot of time configuring a web server, e.g. Apache. and having it support PHP. It turns out that PHP has its own built-in server and it’s super easy to use. Here are the steps: Download PHP If you’re on […]

Read More