Shubham Vora has Published 962 Articles

How to take HTML form data as text and send them to html2pdf?

Shubham Vora

Shubham Vora

Updated on 23-Nov-2023 13:08:46

1K+ Views

The html2pdf is a JavaScript package that allows developers to convert the html to canvas, pdf, image, etc. It takes html as a parameter and adds that to the pdf or required document. Furthermore, it also allows users to download the document after adding the html content to that. Here, ... Read More

Responsive Card with hover effect using HTML and CSS

Shubham Vora

Shubham Vora

Updated on 21-Nov-2023 21:30:21

881 Views

While creating the responsive design for the application, it is also necessary to create a responsive card designs. Sometimes, developers require to add a hover effect on the card. So, when the user hovers over the card, it should change the style of the card. Here, we will learn ... Read More

How to Convert Date to String in TypeScript?

Shubham Vora

Shubham Vora

Updated on 31-Oct-2023 21:15:31

51K+ Views

It is common to show the date and time on the web or mobile application. As a user, have you ever seen any application which shows the date object as it is? It will never happen because it makes UX worst. So, we need to convert the date object to ... Read More

How to Create and Save text file in JavaScript?

Shubham Vora

Shubham Vora

Updated on 31-Oct-2023 12:50:40

81K+ Views

In this tutorial, we will learn to create and save the text file in JavaScript. Sometimes, developers need to get texts or content from the user and allow users to store content in a text file and allow the file to download to the local computer. Many JavaScript libraries are ... Read More

How to count JavaScript array objects?

Shubham Vora

Shubham Vora

Updated on 31-Oct-2023 03:09:02

22K+ Views

In this tutorial, we will learn to count JavaScript array objects. The array is the data structure containing the strings, numbers, objects, etc., in JavaScript. The object is the one kind of entity that contains properties and methods related to it. We can access the object's properties and invoke the ... Read More

Validating Indian vehicle number plate using Regular Expression

Shubham Vora

Shubham Vora

Updated on 27-Oct-2023 16:21:40

959 Views

In this problem, we will validate the Indian vehicle number plate using the regular expression. The regular expression is the search pattern created using the different characters, which we can use to match a particular pattern in the given string. Problem statement - We have given a string ... Read More

Validating UPI IDs using Regular Expressions

Shubham Vora

Shubham Vora

Updated on 27-Oct-2023 16:13:48

811 Views

In this problem, we will validate the UPI id using the regular expression. The UPI is the unified payment interface that is given to each customer, and other people can use it to transfer money to you. The UPI id contains alphanumeric characters. The UPI id should always contain ... Read More

Split Parenthesis Sequence into maximum valid Substrings

Shubham Vora

Shubham Vora

Updated on 27-Oct-2023 16:07:31

70 Views

In this problem, we need to split the parenthesis string into valid groups. When all opening brackets have related closing brackets, we can say that the group of parenthesis is valid. Problem Statement We have given a string containing open and closed parentheses. We need to split the string ... Read More

Print Words with Prime length from a Sentence

Shubham Vora

Shubham Vora

Updated on 27-Oct-2023 15:24:33

162 Views

In this problem, we need to show all words of the string having the prime length. The logical part of the problem is getting the words from the string and checking whether its length is prime. We can check whether the length of the number is divisible by any ... Read More

Minimum deletion such that XOR of adjacent digits is atmost 1

Shubham Vora

Shubham Vora

Updated on 27-Oct-2023 14:56:08

59 Views

In this problem, we will learn to find the count of minimum deletion required so that when we take the XOR of any two adjacent elements, we should either get 0 or 1. We will use the properties of the XOR operations to solve the problem. For example, when we ... Read More

1 2 3 4 5 ... 97 Next
Advertisements