featured Image

How to add Google Analytics 4 in Nuxt Application?

Here, in this article, we will learn about how to add google analytics to our Nuxt application properly for both Universal id and Google Analytics 4 Id. Having analytics is…

Read more
featured Image

Disable scrolling Behavior on a body with element on position fixed in mobile

Here in this article, we will learn on how to disable the scroll behavior of the body whenever we scroll over an element whose position is fixed in our mobile…

Read more
featured Image

Prevent body from scrolling when a modal is opened

Here, in this article, we will learn how to prevent the body from scrolling when a modal or a pop-up is opened using JavaScript. The scroll event is not cancelable….

Read more
featured Image

How to access Localhost on your mobile device?

This article is about how to access Localhost on your mobile browsers and view the website running on your Localhost from your mobile in real-time. So, if you are working…

Read more
featured Image

How to convert an array to object in javascript?

Here, in this article, we will learn how to convert an array to an object using JavaScript. Converting between arrays and objects is a common task in JavaScript. There are…

Read more
featured Image

Convert Array to Object with same keys/values – JavaScript

In this article we will learn how we can convert javascript array to object of same keys/values in JavaScript. The reduce() method in JavaScript allows transforming arrays into different values…

Read more
featured Image

How to Add Syntax Highlighting PrismJS to Nuxt

This article we will see how to add PrismJs to Nuxt to highlight our code snippets. We will add the prismJs to our nuxt content static site. PrismJs is a…

Read more
featured Image

How to add custom static 404 error page in Nuxt ?

In this article, we will learn how to add custom static 404 error page in nuxt application. A 404 Error is a status code which occurs when a page is…

Read more
featured Image

How to set default value of props in VueJS ?

In this article, we will learn how to set default values in props in VueJs. Since Vue is a component-based framework, props are properties in Vuejs that are passed from…

Read more