A short introduction to CSS variables

Using CSS variables we can set a value to a property and reuse it in our CSS code. This can be thought of almost exactly how we use variables in JavaScript. When do we need CSS variables? When we are working on a project, and we need to use the same value (text color, background, …

Creating a simple loader only using CSS

Loader are the impressing part of the websiteย , which needs to be simple and funย , So we will build an elegant loaderย . This loader is inspired from here. Create a container which is going to hold the loader <html> <body> <div class=”container”> </div> </body> </html> Set the width and height of the body to 100%ย , …

The Set Data Structure in Javascript

Learn about how to use and when to use Set in JavaScript. The Set object allows you to create a collection of unique values(each value can occur only once). Set can contain any type of value (primitives or object reference). Set stores elements in the insertion order. The Set doesnโ€™t containโ€™s keys ๐Ÿ”‘ like a …

Design a site like this with WordPress.com
Get started