I get asked about freelancing a lot. In fact, almost all the time nowadays when I tell people what I do for a living.

I graduated with two Computer Science Degrees almost a decade ago. But if someone had asked me this question then, I would’ve flatly answered No. Or maybe a quizzical face suggesting I knew nothing about freelancing 😂

Ten years on, with a mix of employment and freelancing experience under my belt, I now know the answer can very well be a resounding Yes.

Here’s why!

It can be LESS risky than a full time job


2020 has been a tumultuous year for most people. And this is surprisingly been the same across the world since the Covid pandemic hit.

For me personally though it was full of several firsts. In other words, things that I always wanted to do, but didn’t get the time or the motivation to start. Doing things for the first time is also a great learning experience, so I did tons of that this year!

Here are some highlights 😎

Creating my personal blog


As web apps grow in their capabilities, we also see an increase in their bundle sizes. At one hand we need to ship more code for cool new features. On the other hand, we also need third party libraries and their code for everything to work.

The result? Huge initial bundle size and hence, more load times. This in turn will lead to more users turning away from your app and consequently a loss in business. Code splitting is a useful technique to deal with this problem.

What is code splitting?

“Code splitting is the splitting of code into various bundles or components which…


CSS is often seen as a source of great annoyance by many web developers. It’s not your typical programming language and can be a bit hard to understand. However, you can learn a few common CSS layout techniques to make the experience a lot easier!

In this article, I will cover the top five CSS layout techniques that beginners (and even relatively more experienced developers) should know when building their web layouts. There will be working code samples along the way, I promise 🙂

So, without further ado, let’s get started!

CSS technique 1: How to center content in a div

This is one of the most common and perplexing…


Photo by Emma Matthews Digital Content Production on Unsplash

Most countries in the world now are in the middle of a lockdown to contain the Covid-19 virus spread. As a result, many office goers have been forced to instead work from home during this crisis — at least for the short term. Work from home generally sounds wonderful for those tired of their normal routines, but after a while, they realize it’s not as easy as it sounds.

Here are some pieces of advice that I found really helpful in practice — when I left my corporate job to pursue full time freelancing aka work from home a few…

Zoaib Khan

Front-end Engineer. Freelancer. Blogger. Follow on twitter @zoaibdev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store