CSS filter functions preview tool

CSS filters┬ámodify the rendering of a basic DOM element, usually an image, or video. I’ve built this basic tool to preview and see what some of the filters do. Let’s have a look at how CSS filters work and how you can quickly create elements that are beautifully filtered! Continue reading “CSS filter functions preview tool”

Ternary Operators can clean up your code

JavaScript Syntax for ternary operators

(condition) ? true : false;

Use Case

Consider a situation where you need to work with 3 variables where the assignment of one variable depends upon comparing the other 2 variables. Continue reading “Ternary Operators can clean up your code”