Found 10710 Articles for Web Development

How can a page be forced to load another page in JavaScript?

Tarun Singh
Updated on 23-Feb-2023 13:57:25

6K+ Views

In JavaScript, we can use window.location object to force a page to load another page. We can use the location object to set the URL of a new page. There are different ways – window.location.href property, window.location.assign() and window.location.replace() methods, to set the URL of a new page using the location object. We will discuss each of the property and methods in detail in this tutorial. Window.location.replace The first way is to use the window.location.href property. This property contains information about the current URL of the page, and it can be used to redirect the user to a new page. ... Read More

How are the JavaScript window and JavaScript document different from one another?

Tarun Singh
Updated on 24-Jul-2023 10:17:41

186 Views

In JavaScript, the window object represents the current web browser window, while the document object represents the web page that is currently loaded in the window. The window object in JavaScript provides access to the browser's history, location, and other properties and methods that allow us to interact with the browser window itself. It contains information about the browser window, like the size, the document the window contains, and the window’s history. The document object represents the structure of the web page as a whole and provides access to the content of the page, as well as methods for manipulating ... Read More

How to create responsive stacked card hover effect using CSS?

Riya Kumari
Updated on 22-Feb-2023 15:37:05

734 Views

Card-style design is better than others in terms of functionality and aesthetics. To suit the needs of different screen sizes, the card design can assist users focus on specific content very easily, as well as enabling designers to put up the content reasonably and clearly throughout design. The disorganised website is a pain. When we organise various types of elements on the page, the card design can provide a great order for the layout of these contents. This is beneficial to both designers and users. The card design is incredibly versatile and may be used for practically any purpose in ... Read More

How to create Shooting Star Animation effect using CSS?

Riya Kumari
Updated on 22-Feb-2023 18:14:28

2K+ Views

Shooting stars appear to be the gleaming indications of the warmth produced as these small shivers make a blip in the frigid night sky. The Shooting Star effect is one of the most unique background effects for dark-themed websites. Shooting Stars Animation is a fantastic example of a loading screen that keeps your attention for a long time while the rest of the material on the website loads. This effect can be utilised in page loaders and user interfaces. In this article, we will discuss about the method to create Shooting Star Animation effect using CSS. For this, we will ... Read More

How to eliminate close button from jQuery UI dialog box using CSS?

Riya Kumari
Updated on 22-Feb-2023 15:35:31

2K+ Views

Displaying data in a sorted manner within a HTML web page is a cumbersome task. The dialog boxes are used to display information in a presentable manner in a web page. A dialog box is a floatable window which contains a header and the content. jQuery UI enables the developers to create simple and user-friendly dialog boxes for the website. In this article, we will discuss about how to create jQuery UI dialog boxes as well as how to eliminate the close button from those boxes. First, let’s understand about jQuery UI dialog boxes. jQuery UI Dialog Box The ... Read More

How to eliminate blue borders around linked images using CSS?

Riya Kumari
Updated on 22-Feb-2023 15:34:03

404 Views

A website with no visuals is boring, and even if it has a good design, most of us would probably prefer one with many graphics. Why is this the case? Images are a quick and easy way to enhance user experience on your website. 90% of the information we perceive and send to our brains is visual information. You may use images to attract attention and refocus your visitors' attention. They may be really helpful when it comes to communicating important information. Images are a fantastic emotional trigger that you can use to entice visitors and keep them reading your ... Read More

How to create Pay Roll Management Webpage using JavaScript?

Riya Kumari
Updated on 22-Feb-2023 15:23:58

1K+ Views

Nowadays, there are many companies and small-scale businesses rising and booming in the world. There are so many people working in these industries or firms. It has become a crucial task for the employer to manage the payment records of his employee. Thus, arises the need of proper payroll management system in every big or small firm. It is almost impossible for the employer to manually maintain the pay roll record of each and every employee in big firms. So, they need digital pay roll management system. In this article, we will discuss about how to create a pay ... Read More

How to create Incoming Call Animation Effect using CSS?

Riya Kumari
Updated on 22-Feb-2023 15:22:43

603 Views

Cascading style sheets (CSS) enables the developers to create visual effects to your web page which makes it attractive and user-friendly. CSS provides a variety of properties, such as colours, flexbox, grids, animation, shadowing, etc., to style the elements, resulting in a website that is appealing to many users and is user-friendly. In this article, we have discussed about how to design Incoming Call Animation effect using HTML and CSS. In order to create this effect, we will be using CSS animation property and box-shadow property. CSS Animations It enables the developers to add animation effects like moving, vibrating ... Read More

How to use an HTTP GET or POST for Ajax Calls?

Rushi Javiya
Updated on 22-Feb-2023 15:19:39

7K+ Views

We need to use JavaScript, and an AJAX library like jQuery, Axios, or Fetch API to make an AJAX call using HTTP GET or POST. Ajax (Asynchronous JavaScript and XML) creates fast and dynamic web pages by updating content asynchronously without reloading the entire page. It uses JavaScript to send and receive data from a server, which can be in the form of XML, JSON, or plain text. This tutorial will teach us to use an HTTP GET or POST for Ajax Calls. Ajax has two common types of requests: GET and POST. GET Request The GET request is ... Read More

How to Sort/Order keys in JavaScript objects ?

Rushi Javiya
Updated on 22-Feb-2023 15:14:58

13K+ Views

In JavaScript, an object contains the key-value pair. Sometimes, we may require to sort the object keys. We can’t use the sort() method directly with the object as like array, as we need to sort the key-value pair of the object together rather than sorting only keys. Below, we will learn various methods to sort the object keys in ascending and descending order. Use the sort() method to order keys in JavaScript objects We can use the Object.keys() method to get all keys of the object in the array. After that, we can use the array.sort() method to sort ... Read More

Advertisements