Found 10483 Articles for Web Development

The URL Schemes

Satish Kumar
Updated on 09-Jan-2023 15:21:14

4K+ Views

A URL (Uniform Resource Locator) is a string of characters that specifies the location of a resource on the internet. URL schemes are the protocol that is used to access the resource. Here are the most common URL schemes − Http HTTP (Hypertext Transfer Protocol) is a protocol used to transmit data over the internet. It is the standard protocol for accessing web pages on the internet, and is used by browsers to communicate with web servers and retrieve web pages. When you enter a URL in your web browser that begins with "http, " your browser sends a request ... Read More

What is Web Architecture?

Satish Kumar
Updated on 09-Jan-2023 15:16:41

29K+ Views

What is Web Architecture? Web architecture refers to the overall structure of a website or web application, including the way it is designed, implemented, and deployed. It involves the use of technologies and protocols such as HTML, CSS, JavaScript, and HTTP to build and deliver web pages and applications to users. Web architecture consists of several components, including the client, the server, the network, and the database. The client is the web browser or application that the user interacts with, and the server is the computer or group of computers that host the website or web application. The network is ... Read More

How Web Works?

Satish Kumar
Updated on 09-Jan-2023 15:13:08

1K+ Views

What is Web? The World Wide Web (also known as the "web") is a global network of interconnected documents and other resources, linked by hyperlinks and URLs. It is a platform that allows people to access and share information, communicate with one another, and conduct business online. The web is built on top of the Internet, which is a global network of computers that are connected to each other and can communicate with one another. The Internet allows computers to send and receive data, such as emails, files, and web pages, to and from one another. The web was invented ... Read More

World Wide Web Consortium (W3C)

Satish Kumar
Updated on 09-Jan-2023 15:10:19

3K+ Views

What is W3C (World Wide Web Consortium)? The World Wide Web Consortium (W3C) is an international organization that develops standards for the World Wide Web (WWW or Web). It was founded in 1994 by Tim Berners-Lee, the inventor of the Web, with the goal of ensuring that the Web remains a free and open platform for communication and innovation. The W3C works to develop and promote standards that ensure the long-term growth of the Web. It is made up of member organizations, including governments, companies, and research institutions, that contribute their expertise and resources to the development of Web standards. ... Read More

Extract a number from a string using JavaScript

Shubham Vora
Updated on 14-Sep-2023 15:57:17

37K+ Views

In JavaScript, there are multiple ways to extract a number from a string. One way is to use the match() method and a regular expression to search for all numeric digits in the string. Another way is to use the replace() method and a regular expression to remove all nonnumeric characters from the string, leaving only the numbers. Let’s understand each of the methods with the help of some examples. Using the match() method and regular expression The regular expression is one kind of search pattern which we can create by combining multiple alphabetic and special characters. We can ... Read More

Explain the different ready states of a request in AJAX

Shubham Vora
Updated on 05-Jan-2023 16:07:08

2K+ Views

AJAX stands for Asynchronous JavaScript and XML. It is a set of web development techniques to create interactive web applications. AJAX allows a web page to communicate with a server without reloading the page. Ready states are an important part of working with AJAX requests. The ready state of a request indicates the request’s status to the server and allows the client to track the progress of the request. In the below, we detailed the different ready states of AJAX. UNSENT STATE (0) This is the first ready state of the AJAX. It is denoted by the integer 0. When ... Read More

Explain the working of timers in JavaScript

Shubham Vora
Updated on 05-Jan-2023 16:05:23

670 Views

In JavaScript, timers are a very noteworthy feature. As like the normal watch timer, we can start the timer at a time and execute the function or code in JavaScript after a particular time. In simple terms, we can use the timer to execute the code after some delay. For example, when you visit some website, it shows the signup box after 3 to 4 minutes of your visit, and that we can achieve using JavaScript. We can set the delay timer to show the signup popup box. Another good example of the timer in real life is ads ... Read More

Explain the differences in the usage of foo between function foo() {} and var foo = function() {}

Shubham Vora
Updated on 05-Jan-2023 16:03:33

1K+ Views

In JavaScript, we have different ways to define the functions. The function foo() {} and var foo = function() { } is two different ways to define the function. Both ways have their benefits and different use cases; however, both give the same result when executing the function. So, this tutorial will teach us the difference between both ways to define a function. Explanation of the function foo() { }: function declaration The function foo() { } is the normal way to declare the function in JavaScript, which every beginner and developer uses. Also, we can call it a named ... Read More

Explain the benefits of spread syntax & how it is different from rest syntax in ES6?

Shubham Vora
Updated on 05-Jan-2023 16:01:07

262 Views

In the ES6 version of JavaScript, spread syntax is introduced as a very powerful feature. We can use the spread syntax to expand the array or objects into the variable of the same data type. For example, before the spread syntax was introduced in the ES6, developers were using the for loop to copy all elements of one array to another array. Can you copy all elements of one array to another by writing one linear code using the spread syntax rather than writing the 5 to 7 lines of code using the for loop? Yes, you heard right! ... Read More

Explain Storage Object in HTML

Shubham Vora
Updated on 05-Jan-2023 15:47:25

319 Views

As the web storage word represents, it stores the data inside the user’s browser locally. Before HTML 5, developers were using cookies to store data locally, but the cookies allow for storing a limited amount of data, such as in kilobytes. The local storage allows users to store up to 5 MB of data. Developers use the cookies to store the data in the browser and exchange it between the client and server. When we store the data in the cookies, it expires after a particular time. However, we can set the data's expiry, but it still expires after ... Read More

Advertisements