Abhishek has Published 93 Articles

How to use JavaScript to redirect a webpage after 5 seconds?

Abhishek

Abhishek

Updated on 08-Sep-2023 23:14:24

32K+ Views

In this tutorial, we learn to use JavaScript to redirect a webpage after 5 seconds. To redirect a webpage after 5 seconds, use the setInterval() method to set the time interval. Add the webpage in window.location.href object. As we know, whenever we need to call a function or some block ... Read More

How to stop form submission using JavaScript?

Abhishek

Abhishek

Updated on 06-Sep-2023 13:02:30

44K+ Views

In this tutorial, we will see the methods to stop form submission using JavaScript. Generally, the HTML form by default submitted automatically if we try to perform some operations by using some events. The automatic submission of the form leads the browser to refresh and reload the whole page again, ... Read More

How to find duplicate values in a JavaScript array?

Abhishek

Abhishek

Updated on 02-Sep-2023 10:47:49

62K+ Views

In this tutorial, we will discuss how we can find duplicate or repeating values in a JavaScript array using different methods or approaches to reach the solution to this problem. Below is the list of the approaches or methods we can use to solve the problem of finding duplicates − ... Read More

How to use media queries in a mobile-first approach in HTML?

Abhishek

Abhishek

Updated on 31-Aug-2023 14:46:09

76 Views

Building a responsive web design is a must have and a skill that every developer must be aware and know how to build a completely responsive nug free website. Which appears differently on different screen width devices and will not look oddly or overflow when opened on different devices. It ... Read More

How to use margin, border and padding to fit together in the box model?

Abhishek

Abhishek

Updated on 31-Aug-2023 14:44:27

85 Views

In general, we use the box model to define all these properties to use them together. Box model is a model that is used to define the different CSS properties that a box contains like the margin, border, padding and the most important content. A box model in CSS generally ... Read More

How to use line break in CSS?

Abhishek

Abhishek

Updated on 31-Aug-2023 14:42:29

146 Views

In General, when we are working with normal HTML we are used to of using the tag of in HTML to specify a line break for any long text to break the line at any point after any word where we want to break. The tag works well ... Read More

How to use image overlay correctly with Bootstrap?

Abhishek

Abhishek

Updated on 31-Aug-2023 14:40:01

2K+ Views

The image overlay is a property by using which we can show any text, image, links and much more over an image. It allows us to set text, images or other things on an image to make it look pretty. We can us the image overlay class of bootstrap defined ... Read More

How to use grid-breakpoint class in Bootstrap?

Abhishek

Abhishek

Updated on 31-Aug-2023 14:37:52

39 Views

The grid breakpoint classes are the basic building blocks of creating a responsive web design using Bootstrap. These classes can be used with any bootstrap class to specify a particular CSS to an HTML element in the document for different screen sizes or different display devices. We can hide or ... Read More

File Splitting in SASS

Abhishek

Abhishek

Updated on 08-May-2023 16:50:42

217 Views

SASS is a CSS pre-processor, that stands for Syntactically Awesome Style Sheet. The SASS code is written just like a scripting language like JavaScript, but at the time of compilation it is converted into CSS and compiled as CSS in the browser. SASS can be used with any version of ... Read More

CSS units – %, em, rem, px, vh, vw

Abhishek

Abhishek

Updated on 08-May-2023 16:47:44

519 Views

In CSS or the Cascading Style Sheet, there are many units available to represent the values of different properties in different ways according to the need. The CSS properties like: font-size, height, width and line-height etc are used to define the different properties to a container. The values of these ... Read More

Advertisements