The HTML5 Canvas element is used to draw graphics on your web app. By default, it has no border or background colour, but I’m going to show you how to turn the empty canvas element into this with around 10 lines of code :

To start, you grab the canvas…

As you may already know, everything in CSS is a box. And what better way to position boxes than in a grid? Today I will talk about CSS Grid…

My goal is to create a simple diamond montage using CSS Grid. …

CSS units can be confusing at times and I will try to simplify it for you…

There are two types of CSS units; absolute units and relative units. Knowing the difference between the two can make styling your web app a much easier experience.

ABSOLUTE UNITS

The px (pixel) unit…

“It’s only hard when you don’t know it. Once you know it it’s easy.”

— Albert Einstein

This is the approach I took when trying to learn RegEx. Force yourself to learn it until it’s easy. I haven’t spent too long on RegEx (short for ‘regular expressions’) but I’ve learnt…

Ali S

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