featured Image

Easy Way to add Emoji in markdown with VS Code

If you want to add emoji in your VS Code markdown that is supported by GitHub too, then this is the right article for you. VS Code provides us with…

Read more
featured Image

Create multiline string in JavaScript | Split string to Multilines

In this post, we will see how to create a multiline string in JavaScript. To create a multiline string in Javascript we can use these three methods: Let’s check each…

Read more
featured Image

How to register a Global component in Vue 3 and Vue 2

In this post, we will see how we can register a component globally in Vue 2 and Vue 3. In Vue, we can register a component in two ways: Locally…

Read more
featured Image

How to conditionally bind class in Svelte

In this post, we will learn how to bind classes in Svelte Js. Let’s first create a class name active and give it a style of color: red; Now we…

Read more
featured Image

How to redirect to another page in Vue

Here in this short post, we will learn how you can redirect a user from one page URL to another using vue-router. In Vue, routing is done through the use…

Read more
featured Image

How to add 404 page in Vue using vue-router

In this post, we will see how to add a custom 404 (Page Not Found) page using vue-router in Vue Js. To add a 404 page in Vue, we have…

Read more
featured Image

How to split string after specific character in JavaScript

In this post, we will learn how to split a given string at a specific character in JavaScript. To split a string after a specific character we can use the…

Read more
featured Image

Split a String into chunks of N character into an array in JavaScript

In this tutorial, we will learn how to split String into Substrings of N characters in JavaScript. So to split string by length of N character in javascript, we will…

Read more
featured Image

Convert Kilometers to Miles using JavaScript program

In this short post, we will write a function to convert kilometers (km) to miles (mi) using JavaScript. We know that 1 kilometer = 0.621371 miles, so we can use…

Read more