Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Web Development Articles
Page 768 of 801
How to submit a form on Enter button using jQuery?
jQuery- a very popular JavaScript library that simplifies the process of HTML document manipulation, event handling, and animation. It consists of a set of functions that are used to traverse, manipulate, and modify HTML elements on the page. It is also cross-browser compatible and works seamlessly with most modern browsers. We always used forms on our websites whether in the form of the login page, contact us section, etc. There we always have to submit the form by clicking the button but how it can be possible to submit a form using the Enter key? Submitting a form is a ...
Read MoreHow to split a column of list in different rows using Bootstrap?
Bootstrap is a widely used front-end framework for building responsive and mobile-friendly web pages. It was initially created by Twitter and is now maintained by the Bootstrap team, which is an open-source community of developers. One of the primary benefits of Bootstrap is that it allows developers to create responsive designs that work seamlessly across different screen sizes and devices. This means that websites and applications built with Bootstrap can adapt to various devices, such as smartphones, tablets, and desktops, providing users with a consistent and engaging user experience. In this article, we’ll see how to split a column ...
Read MoreHow to Specify Divider Gap in Square Grid using Bootstrap?
Bootstrap is a CSS framework that is used widely used among developers to design the websites because it offers a variety of pre-built components that speed up the development time. Bootstrap has multiple features for the developers that can be used, Grid system is one such, that allows the developers to create responsive layouts quickly and easily. Grid layout is very commonly used while building any web application to organize the content into different columns and rows. The grid system in Bootstrap is designed to be more flexible and customizable so that the developers can create layouts that are ...
Read MoreFixed Options in Searchbox in ReactJS
Sometimes, developers require to add the fixed options in the search box while creating the search bar. For example, you are developing a web application containing different web pages related to cars, bikes, other vehicles, etc. Also, you require to add a search bar on every web page. So, you may be required to add the fix tags like car, bike, or some car or bike brands as fixed tag in the search bar to highlight. In this tutorial, we will learn to add fixed options in search box in ReactJS using the AutoComplete component of the Material UI library. ...
Read MoreWhy big tag is not in HTML5 while small tag exists?
In HTML 4, the and tags were included, but in HTML 5, only the tag exists as the tag is removed by developers. Why tag exists but not tag in the HTML 5 The tag was useful to make the font size bigger than the normal fonts. For example, if the default font size in the browser is small, the big tag makes it medium. The tag is used to make a font size smaller than the normal fonts. If the default font size is medium in the browser, the ...
Read MoreWhich methods are used to set styles on selected elements in jQuery?
Developers can use JavaScritp or JQuery to manipulate the style of the HTML elements. For that, first, developers need to access the HTML elements using JQuery and then use various methods to set the style for selected HTML elements. Sometimes, we require to manage elements styles using JQuery. For example, when users click the button, we need to change the text's colour, image dimensions, etc. In this case, we can use the JQuery methods below to change the HTML elements' style. Use the CSS() method of JQuery to set styles on selected elements The first method is the css() ...
Read MoreExplain about noImplicitAny in TypeScript
TypeScript is a popular typed superset of JavaScript that compiles down to plain JavaScript. It offers numerous features to improve the overall developer experience, such as static typing, interfaces, and namespaces. One key feature in TypeScript is the noImplicitAny compiler option. In this article, we will explore noImplicitAny, its benefits and drawbacks, and two different approaches to deal with it in your TypeScript code. Approach 1: Explicit Type Annotations This approach involves adding type annotations to every variable and function parameter, ensuring that the compiler knows the expected types. Adding Type Annotations function add(a: number, b: number): number { ...
Read MoreHow to call web services in HTML5?
Introduction Calling web services is one of the most commonly used services over the web. It refers to the way of communicating with the software systems. This communication can be between the clients with the server, peer-to-peer, etc. HTML5, the latest version of HTML, provides A LOT OF WAYS LIKE XMLHttpRequest object, APIs like Axios and fetch, WebSockets, etc. This API allows the users to get dynamic static, real-time, or dynamic content depending upon the requirement. In this article, we shall learn how to call web services by using different methods like calling APIs, web sockets, etc. XMLHttpRequest is a ...
Read MoreHow to Update the State of React Components Using Callback?
Updating the state of a React component is an essential part of building interactive and dynamic web applications. State management can become challenging as components become more complex and nested. This article will cover how to update the state of React components using callback functions, providing you with two different approaches and working examples to make your development process smoother. Algorithm Understand the state management in React components Choose the right approach for updating the state Implement the chosen approach with code and explanations Provide working examples to demonstrate the usage of the approach Conclude with the benefits of ...
Read MoreFile uploading in React.js
File transmission represents a vital aspect of any online platform, permitting users to effortlessly transfer and disseminate files among each other. With the proliferation of JavaScript libraries and frameworks, file uploading has become significantly easier, with React.js being no exception. In this treatise, we shall delve into the intricacies of file uploading in React.js, exploring the algorithmic approach, various methodologies, and functional illustrations. Algorithm At the crux of it, the act of file uploading in React.js entails transmitting a document from the user's machine to the host server. This is achieved by employing a form that comprises an input element ...
Read More