Hi, I'm Melvin George. I help the world by building quality software.

         

Recent blogs

How to open and close a new browser window using JavaScript?

Learn how to open and close a new browser window using JavaScript?

Read
JavaScript
How to sync the fork repository with the main repository in Git?

Learn how to sync the fork repository with the remote main repository in Git.

How to keep a branch in sync with the main branch in Git?

Learn how to properly merge commits and keep branches in sync with the main branch in Git

How to move uncommitted code to a different branch in Git?

Learn how to move uncommitted code to a different branch in Git

How to change the name of branches locally and remotely in Git?

Learn how to properly change the name of branches locally and remotely in Git

How to save current code changes without committing the changes in Git?

Learn the usage of git stash and git stash pop Git commands

Differences between lastChild and lastElementChild DOM element property in JavaScript

Learn the correct usages of lastChild and lastElementChild DOM element property in JavaScript

Read
JavaScript
Differences between firstChild and firstElementChild DOM element property in JavaScript

Learn the correct usages of firstChild and firstElementChild DOM element property in JavaScript

Read
JavaScript
How to serve different image formats in websites using the HTML5 picture tag?

Learn how to serve different image formats in different browsers using the HTML5 picture tag

Read
HTML5
How to get the last child of a parent DOM element in JavaScript?

Learn how to get the last child of a parent DOM element in JavaScript

Read
JavaScript
How to insert HTML at different positions in an element using JavaScript?

Learn how use the insertAdjacentHTML() DOM element method using JavaScript

Read
JavaScript
How to get the tag name of an element using JavaScript?

Learn how to get the tag name of an element using JavaScript

Read
JavaScript
How to get the count of child elements of an element using JavaScript?

Learn how to get the count of child elements of an element using JavaScript

Read
JavaScript
How to remove attributes from a DOM element using JavaScript?

Learn the usage of the removeAttribute() method to remove attributes from a DOM element in JavaScript

Read
JavaScript
Peek Operation in Stacks and Arrays in JavaScript

Learn how to do the peek operation in stacks or to add the peek method to arrays in JavaScript

Read
JavaScript
How to get the first child of a parent DOM element in JavaScript?

Learn how to get the first child of a parent DOM element in JavaScript

Read
JavaScript
How to add an element before a DOM element in JavaScript?

Learn how to use the before() DOM element method in JavaScript

Read
JavaScript
How to add an element after a DOM element in JavaScript?

Learn how to use the after() DOM element method in JavaScript

Read
JavaScript
How to gracefully handle errors in JavaScript?

Learn how to gracefully handle errors using the try...catch statement in JavaScript

Read
JavaScript
How to get the length of the Buffer in Node.js?

Learn how to use the length property in the Buffer instance in Node.js

Read
Node.js
Hacktoberfest 2020 🦄

Make 4 pull requests to Open source projects and claim a T-shirt from DigitalOcean

Read
Hacktoberfest
How to copy contents from one buffer to another buffer in Node.js?

Learn how to use the copy() method in the Buffer instance to copy contents from one buffer to another buffer instance in Node.js

Read
Node.js
How to overwrite or fill buffers with data in Node.js?

Learn how to use the fill() method in the buffer object to fill the buffer with some data in Node.js

Read
Node.js
How to check if two buffers are equal in Node.js?

Learn how to use the equals() method in a buffer instance to check whether another buffer is equal in Node.js

Read
Node.js
How to loop through Buffers in Node.js?

Learn how to loop through Buffers in Node.js

Read
Node.js
How to combine Buffers in Node.js?

Learn how to use the concat() method in the Buffer class to combine Buffers in Node.js

Read
Node.js
How to compare two buffers in Node.js?

Learn how to use the compare() method in the Buffer object in Node.js

Read
Node.js
How to get the length of the string as bytes in Nodejs?

Learn how to use the byteLength() method in the Buffer class to get the length of the string as bytes in Node.js

Read
Node.js
How to convert a Buffer data to JSON in Node.js?

Learn how to use the toJSON() method to convert buffers into JSON in Node.js

Read
Node.js
How to check whether a data or an object is a Buffer in Node.js?

Learn how to use isBuffer() method in the Buffer class to check whether the data or an object is a Buffer in Node.js

Read
Node.js
Read more articles →