Mohit Panchasara has Published 87 Articles

How to record and play audio in JavaScript?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:38:11

5K+ Views

Are you also willing to add a custom audio recording feature to your web application? If yes, you are in the right place, as we will learn to record and play audio using JavaScript in this tutorial. Some applications like Discord allow you to record the audio and store it ... Read More

How to put the text inside of a created icon?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:36:34

787 Views

Sometimes, developers require to put the text in the icons. For example, adding the total number of likes inside the ‘like’ icon makes UI better, adding a comment inside the comment icon, showing a particular number in any icon, etc. In HTML, we can add the text and icon both ... Read More

How to print a page using jQuery?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:35:20

5K+ Views

Allowing users to print the web page can be a great feature in many scenarios. For example, users can print the invoice, the whole article if they are on the web page containing the blog, some important data, etc. The JQuery contains the print() method allowing us to print the ... Read More

How to prevent overriding using Immediately Invoked Function Expression in JavaScript?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:23:25

400 Views

JavaScript allows developers to add functionality and behaviors to the web page. Developers require to create multiple functions and variables to add functionality to different parts of the web page. While developing real-time applications, multiple developers work on the same project. So, avoiding the unintentional overriding of functions and variables ... Read More

How to prevent long words from breaking my div?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:20:43

2K+ Views

Sometimes, developers require to show long words on the web page. For example, show URLs, long file names, etc. Sometimes, the word length is greater than the parent container’s, and the word breaks the container. For example, we created the card to show the file details, and the file name ... Read More

How to prevent inline-block divs from wrapping?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:17:32

5K+ Views

In CSS, the ‘display’ property is used to set the display of the children elements. When we set the ‘inline-block’ value for the display property, it shows all children elements side by side. Also, it creates a responsive design automatically as if it doesn’t find enough space, it automatically wraps ... Read More

How to prevent dragging of ghost image?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:12:29

1K+ Views

By default, we can drag all the HTML elements by clicking on them. However, users should not be able to drag the non-draggable element. Otherwise, they can’t be able to differentiate between the draggable and non-draggable elements, as all elements are draggable. The images are also draggable on the web ... Read More

How to prevent browser to remember password in HTML?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:10:36

1K+ Views

Have you ever observed that filling the form data on any web page suggests the previous input values? Now, the question is where the browser is finding that particular value? The browser stores the data in the cookie storage and fetches it from there. It also stores the login credentials ... Read More

How to place two input box next to each other using Bootstrap 4?

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 12:01:16

867 Views

Bootstrap is a popular frontend framework containing pre-styled components and allowing developers to use that directly in the application. The ‘4’ is the version of the Bootstrap. Bootstrap also contains pre-styled input components. Furthermore, it has different kinds of the input components, such as input groups, single input, etc. While ... Read More

Inherit a class to another file in Sass

Mohit Panchasara

Mohit Panchasara

Updated on 26-Jul-2023 11:59:34

2K+ Views

The SASS is a pre-processor built on top of the CSS to manipulate the CSS code better. It contains multiple directives and rules, making it easy to write CSS code. It also contains some very useful features such as inheritance, if/else statements, functions, etc. In SASS, we can import one ... Read More

Previous 1 ... 3 4 5 6 7 ... 9 Next
Advertisements