Web Development

Select all text on click using CSS

When a user has to select some text on a website, they have to drag and hold their mouse, or…

3 years ago

Detecting element causing CSS overflow

CSS overflows are an annoyance that keep showing up once in a while and are really hard to debug. Unwanted…

3 years ago

How to create a UUID in JavaScript

Creating a globally unique identifier has always been a necessity in all programming languages and for some reason, JavaScript never…

3 years ago

How to convert a React component to an image

Sometimes you want to give the users the ability to download a part of the web application as an image.…

3 years ago

Specifying a node version in Repl.it

I was recently trying to use a later version of Node on Repl.it. I wanted to use a package that…

3 years ago

Accessing the clipboard in JavaScript

Developers are probably the laziest people on the planet. And of all the things, copy-paste is our favorite keyboard shortcut.…

3 years ago

Using counters in CSS to number elements automatically

Ordered lists have been an important part of web design for quite a while now. If we needed more control…

3 years ago

How to remove a property from a JavaScript object

There are two ways to remove a property from a JavaScript object: one is the mutable way of doing it…

3 years ago

Optimizing JavaScript loading with defer and async attributes

We are all used to using the script tag to load external JavaScript files in our HTML. Traditionally, the only…

3 years ago

Web NFC is a thing now

NFC or Near Field Communication is a short-range wireless technology that allows devices at a distance of less than 10cm…

3 years ago
Advertisements