Found 8895 Articles for Front End Technology

How to use image overlay correctly with Bootstrap?

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

4K+ 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 as card-img-overlay. This class will allow us to write text or align text over an image and use the image as a background to the text or the links we align over it. What are the advantages of using this class provide? It allows you to write or align ... Read More

How to use grid-breakpoint class in Bootstrap?

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

84 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 show, change the position and alignment of an element in different screen size devices using these classes. These classes are built using the Media Query in CSS which is used for creating the responsive web designs for different display devices. The grid-breakpoint classes in bootstrap that can be used ... Read More

Why TypeScript is the best way to write front-end?

Mohit Panchasara
Updated on 31-Aug-2023 13:19:26

81 Views

TypeScript has been gaining popularity in the web development community for quite some time now, and for good reason. It is a powerful programming language that offers several benefits over traditional JavaScript. TypeScript is a strongly typed language that allows developers to catch errors earlier in the development process, making it easier to maintain and scale large codebases. In this article, we will explore why TypeScript is the best way to write front-end code. What is TypeScript? TypeScript is a superset of JavaScript that was developed by Microsoft in 2012. It is a statically typed language that provides optional ... Read More

Why and How to Use TypeScript in your React App?

Mohit Panchasara
Updated on 31-Aug-2023 13:18:22

92 Views

React has emerged as one of the most popular JavaScript libraries for building dynamic and interactive web applications in recent years. With its component-based architecture and virtual DOM, React offers developers a powerful and efficient way to create complex user interfaces. However, as projects grow in size and complexity, it becomes crucial to ensure code maintainability, catch potential bugs early, and improve collaboration among team members. This is where TypeScript, a statically typed superset of JavaScript, comes into play. In this tutorial, we will explore why and how to use TypeScript in your React app and how it can significantly ... Read More

Typescript BigInt Vs Number

Mohit Panchasara
Updated on 31-Aug-2023 13:17:21

1K+ Views

In TypeScript, developers have two main options when working with numeric values: BigInt and Number. These two types serve different purposes and have distinct characteristics, making it crucial to understand their differences to make an informed decision. This tutorial aims to explore the disparities between BigInt and Number in TypeScript, providing examples and use cases to help developers choose the appropriate numeric type for their specific needs. Understanding Number The Number type in TypeScript represents standard JavaScript numbers and is widely used for most numeric operations. It encompasses both integer and floating-point values. Here are a few key aspects to ... Read More

Interviewing Typescript

Mohit Panchasara
Updated on 31-Aug-2023 13:08:51

108 Views

In this tutorial, we will delve into the world of TypeScript and explore some important interview questions and their corresponding answers. TypeScript, a statically typed superset of JavaScript, brings enhanced features and static type-checking to JavaScript development. By understanding these questions and answers, developers can gain insights into TypeScript's core concepts and capabilities. TypeScript Basics Here are some important questions that cover the basics of TypeScript − What is TypeScript, and how Does it Differ From JavaScript? TypeScript is a programming language that extends JavaScript by introducing optional static typing and additional features. While JavaScript is a dynamically typed language, ... Read More

How to work with form elements in typescript?

Mohit Panchasara
Updated on 31-Aug-2023 13:02:29

2K+ Views

Forms are an essential part of web development, enabling users to input and submit data. TypeScript, with its static typing and enhanced tooling, provides a robust environment for building form-driven applications. In this tutorial, we will explore various scenarios for working with form elements in TypeScript. We'll cover form submission, input validation, handling events, and accessing form values. Creating a Basic Form To get started, let's create a basic HTML form and enhance it with TypeScript. We'll capture user input and display it on submission. Syntax The syntax to create a form in HTML − ... Read More

How to Use Extension Methods in TypeScript?

Mohit Panchasara
Updated on 31-Aug-2023 12:58:20

7K+ Views

As a TypeScript developer, you may encounter situations where you need to add functionality to an existing class or interface without modifying its source code. In such cases, extension methods can come in handy. Extension methods allow you to add new methods to a class or interface, providing additional functionality to make your code more modular and easier to maintain. In this tutorial, we will see what extension methods are, how to declare and use them and provide examples of their use. What are Extension Methods? Extension methods are a powerful feature of TypeScript that allows you to add new ... Read More

How to create an Edit icon using jQuery Mobile

Aman Gupta
Updated on 28-Aug-2023 11:39:34

140 Views

Overview The jQuery mobile provides many icons packs which we can access using as a value in the data−icon attribute. As all these icons are used as the buttons so by using the basic HTML button we can use the data−icon attribute. The jQuery mobile provides responsive user interface content to the web pages with the attractive icons. Instead of using the HTML button tag we can also use the HTML anchor tag and set the attribute data role as button so the anchor tag will behave like a button and after this we will use the data icon attribute ... Read More

How to create a dynamic HTML pages

Aman Gupta
Updated on 28-Aug-2023 11:04:14

3K+ Views

Overview Nowadays most of the pages are dynamic in nature, the dynamic page means that it changes the content with respect to the user. Dynamic pages cannot be built by simply HTML and CSS because it will provide the page static nature only, so to make the web page dynamic we have to use the scripting language such as javascript or jQuery. We can make the page dynamic in many ways such as when a user enters his credentials to the page he can retrieve the information regarding his credentials. The dynamic page also represents those web pages which can ... Read More

Advertisements