Saba Hilal has Published 65 Articles

How to limit character input in textarea including count in jQuery?

Saba Hilal

Saba Hilal

Updated on 10-May-2023 18:11:42

2K+ Views

Suppose the total permitted character is N and the user has entered M characters in the textarea, where N>M. Now only (N-M) characters are left to be entered. After this (N-M) becomes 0, the characters should not be allowed to be entered. In this article, using JQuery, in three ... Read More

How to make a display in a horizontal row?

Saba Hilal

Saba Hilal

Updated on 10-May-2023 18:08:27

489 Views

In this article, the user will understand how to make a display in a horizontal row in the HTML. This can be easily done by using “display: inline” feature while setting the style or by using the table row feature. This process of displaying some elements of a webpage in ... Read More

How to make a vertical line using HTML?

Saba Hilal

Saba Hilal

Updated on 10-May-2023 18:00:16

2K+ Views

Sometimes, the task is to display a vertical line on the web page and to set the style for that vertical line. Using the HTML, this process of creating a vertical line on the webpage is demonstrated in this article. First the method is given where the border style is ... Read More

How to make an empty div take space?

Saba Hilal

Saba Hilal

Updated on 10-May-2023 17:22:23

3K+ Views

HTML is one of the most popular language to create interactive web pages. The space inside the div tag is marked by either enclosing it with a border or coloring it up. First, the method is given where the height and width are specified for the div tag to create ... Read More

A Game Using Javascript – Fire the bullets

Saba Hilal

Saba Hilal

Updated on 10-May-2023 17:01:18

291 Views

This game is made using JavaScript and the game lab of code.org. The game Story/Rules/Intrroduction The player has to move the commando by pressing the UP, DOWN, LEFT and RIGHT arrow keys and make the commando escape the walled area. To go out of the door the commando needs to ... Read More

How to Locate Elements using Selenium Python?

Saba Hilal

Saba Hilal

Updated on 04-May-2023 17:49:34

738 Views

With the frequent change in technology to present the content on the web it is often needed to redesign and restructure the content of the web pages or websites. Selenium with Python is a good combination that is helpful to extract the desired content from web pages. Selenium is a ... Read More

How to iterate through a nested List in Python?

Saba Hilal

Saba Hilal

Updated on 04-May-2023 17:45:23

4K+ Views

In this article, we will understand the concept of nested Lsit in Python and how to iterate through a nested list in Python language, Sometimes, the task is to go through each element of a list or to find the elements in a list or to use the information given ... Read More

How to invert the elements of a boolean array in Python?

Saba Hilal

Saba Hilal

Updated on 04-May-2023 17:39:39

501 Views

Sometimes, the task is to invert a boolean array. This is often required if the files contain a column with true or false values and the need is to use the column values in the inverted manner. For example, if a CSV file contains the data column as Covid Negative ... Read More

How to make a basic Scatterplot using Python-Plotly?

Saba Hilal

Saba Hilal

Updated on 04-May-2023 17:23:50

475 Views

Sometimes, the task is to analyze a dataset and use charts or plots for data visualization. Plotly is a nice open-source graphing library that can be used with Python and is used for making a variety of plots and charts quickly and easily. In this article, using two different examples, ... Read More

How to make a word count in textarea using JavaScript?

Saba Hilal

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 ... Read More

Advertisements