Found 8895 Articles for Front End Technology

How to define a title for a document using HTML5?

Aayush Mohan Sinha
Updated on 05-May-2023 14:56:10

125 Views

The significance of establishing a precise header for a document cannot be overemphasized in the realm of web design. A document's header serves as the foremost mechanism for identifying and distinguishing it from other documents, and assumes a crucial function in search engine optimization (SEO) and user engagement. HTML5, which is the most recent version of the Hypertext Markup Language, presents developers with a concise and uncomplicated approach to establishing document titles. Within this written composition, we will examine with critical evaluation the successive course of action for constituting a document's heading by utilizing HTML5, and evaluate how this seemingly ... Read More

How to make a word count in textarea using JavaScript?

Saba Hilal
Updated on 04-May-2023 17:04:27

1K+ Views

Sometimes, the task is to count the words entered in an input box or a text area. The textarea is often used if we want to show multiple lines of text. While entering the text into the text area, the user may use blank spaces as the separation between the words or between lines. Using HTML, and javascript code with Jquery library, this process of counting the words in the entered text is demonstrated in this article. This is shown by using two different examples. In the first example, the blank spaces or newlines entered are counted, to find the ... Read More

How to make Mini sized Vertical controlgroups using jQuery Mobile?

Saba Hilal
Updated on 04-May-2023 17:02:07

80 Views

The controlgroups can have the options of vertical or horizontal. Sometimes, if many buttons are taken together, it is also required that the controlgroup size is reduced. Using HTML and jquery mobile, this process of creating the mini-sized vertical controlgroups is demonstrated in this article. This is shown by using two different examples. In the first example, the ways to use mini vertical controlgroup for the buttons are demonstrated. In the second example, the use of a mini vertical controlgroup for the icon buttons is shown. Example 1: Using JQuery Mobile to Make mini Vertical Control groups for the Buttons ... Read More

What is the App Shell Model in JavaScript?

Shubham Vora
Updated on 04-May-2023 16:59:13

302 Views

The App Shell Model is a design pattern that keeps a web app's UI and data modules apart. Caching the user interface in this design may load content on the fly. This method is widely utilized in progressive web apps (PWAs) because of its many speed and user experience benefits. Benefits of the App Shell Model in JavaScript Faster Load Times The user experience is enhanced by reducing the time it takes for the program to load for the first time due to caching the app shell. Users have come to anticipate instantaneous response times from online apps, and any ... Read More

How to create a reporting app with Vue 3 and Composition API?

Shubham Vora
Updated on 04-May-2023 16:58:27

532 Views

Vue is a JavaScript framework that allows developers to create web applications. It is mainly used to build single-page web applications. There are lots of benefits to using the vue to create web applications, such as easy structure, lightweight, component-based architecture, etc. Before we start with the tutorial, let’s learn about the reporting app and composition API. The reporting app is a single or multiple-page web application that displays useful data in a proper format, such as table format. It is used to show the reports of the data in a particular format. The composition API allows developers to code ... Read More

How to control fps with requestAnimationFrame?

Shubham Vora
Updated on 04-May-2023 16:56:48

721 Views

The fps word is generally associated with videos and games where we require to use animations. The fps is an abbreviation of frames per second, and it means how many times it’s rerendering the current screen. For example, a video is a continuous row of images. It means it shows images in very short intervals so that users can’t know it's showing images individually. If we decrease the fps for video, it can look like image animation rather than video. So, with more fps as it gives better results. Basically, fps tells us how many times it should update the ... Read More

How to Configure Socket.IO with Demo-Chat App in Node.js?

Shubham Vora
Updated on 04-May-2023 16:55:10

190 Views

Socket.io is a popular JavaScript library that allows us to communicate between the server and the client. We can create an instance of socket.io on the client and server sides and listen to or emit the events from both sides. Also, we can listen to the event emitted from the server on multiple web clients. In real-time, we can use the socket.io library to create chat applications and online games requiring bi-direction communication. For example, if you have observed while playing chess or Ludo, it allows us to talk with our opponent. In this tutorial, we will learn to configure ... Read More

How to Configure Mouse Wheel Speed Across Browsers using JavaScript?

Shubham Vora
Updated on 04-May-2023 16:53:48

4K+ Views

We can use JavaScript to change the behavior of the web page. Every browser has a default scrolling speed when users scroll using the mouse wheel. However, we can control it using JavaScript. We can also use the mouse wheel to zoom in and out of web pages. In such cases, we require to reduce the mouse wheel speed. Furthermore, developers sometimes require a scrolling speed limit, such as on website rules, so that users can read it properly. In this tutorial, we will learn different ways to control the mouse's wheel speed. Syntax Users can follow the syntax below ... Read More

How to use .on and .hover in jQuery?

Tarun Singh
Updated on 04-May-2023 16:11:02

325 Views

jQuery- a popular JavaScript library used in simplifying web development tasks. It gives an easy-to-use syntax that simplifies coding and improves performance. Among the many features that jQuery provides, two of the most commonly used are .on() and .hover(). These methods allow to bind events to DOM elements and executing code when the events are triggered. In this article, we will learn how to use .on() and .hover() in jQuery. We will see the different approaches to using the .on() and .hover() methods. The .on() Method The .on() method in jQuery is used in binding one or more events to ... Read More

How to upload files using jQuery Dropzone Plugin?

Tarun Singh
Updated on 04-May-2023 16:05:24

3K+ Views

Uploading files on a website can be a challenging task, especially when you have to handle different types of files, such as images, videos, and documents. Fortunately, jQuery Dropzone Plugin makes it easy to handle file uploads with just a few lines of code. There are many more plugins available for uploading the files like Fine-Uploader, JQuery File upload, Uploadify, etc. In this article, we will learn how to upload files using the jQuery Dropzone plugin. We will go through the complete process of using the jQuery Dropzone Plugin to upload files on the website. What is jQuery Dropzone Plugin? ... Read More

Advertisements