How to add a Login Form to an Image using HTML and CSS?

Yaswanth Varma
Updated on 02-Jul-2024 17:51:28

653 Views

The login form on an image can be found on many websites. An organization that organizes a special event might have a website with a picture of the event and a login form, or a restaurant might have a website with pictures of the restaurant. In such case we use image to make a login or signup. Compared to a standard login or registration form, this layout makes the website more appealing. In order to create a login form on a picture, we only need HTML and CSS. Before we dive into the article let’s have a quick view ... Read More

Java Program for Binary Insertion Sort

AmitDiwan
Updated on 02-Jul-2024 17:29:47

3K+ Views

Binary insertion sort uses the binary search to find the right position to insert an element at a specific index at every iteration. First, the location where the element needs to be inserted is found. Then, the elements are shifted to the next right location. Now, the specific element is placed in the position. Problem Statement Given an integer of array implement binary insertion sort using Java to sort it. The algorithm should use binary search to determine the correct position for each element and to maintain the sorted order it will shift elements accordingly. Steps for Binary Insertion ... Read More

How To Create A Text Inside A Box Using HTML And CSS

Yaswanth Varma
Updated on 02-Jul-2024 16:47:09

15K+ Views

To create a text inside a box using HTML and CSS, we will be understanding most commonly used approaches in this article. We are having a element, inside that element we will have element. We need to to place some charecter of the p element inside a box, or create a border surrounded those charecters. Approaches to Create a Text Inside a Box Using span element with CSS Using CSS flexbox Creating a Text inside a Box Using span Element To create a text inside a box using ... Read More

How to Set Color of Progress Bar using HTML and CSS?

Shabaz Alam
Updated on 02-Jul-2024 14:24:06

14K+ Views

To set color of progress bar, is an important part of website as progress bar displays progress of any process like file downloads, loading time, file uploads, and other similar tasks. In this article, we have a progress bar whose by default color is grey, our task is to change the color of the progress bar. Approaches to Set Color of Progress Bar Here is a list of approaches to set color of progress bar using html and css with step wise explaination and complete example codes. Progress Bar Color Using background Property ... Read More

Java program to double the size of an array

karthikeya Boyini
Updated on 02-Jul-2024 11:21:24

2K+ Views

In this article, we will learn how to double the size of an array in Java. This involves creating a new array with twice the length of the original array and copying the elements from the original array to the new, larger array. Problem Statement Create an initial array with predefined integer values and determine its length. Then, create a new array with double the length of the original array, copy the elements from the original array to the new one, and print the lengths of both the original and the new arrays to verify the resizing operation. Steps to ... Read More

Java program to convert LocalDate to java.util.Date in UTC

Samual Sam
Updated on 02-Jul-2024 10:26:21

2K+ Views

In this article, we will learn how to convert a local date to a java.util.Date in UTC using Java's date and time API. Problem Statement Convert the current date, to a java.util.Date object in Coordinated Universal Time (UTC). The goal is to achieve this conversion while ensuring that the resulting java.util.Date object represents the start of the day in UTC for the given LocalDate. Steps to Convert LocalDate to java.util.Date in UTC The following are the steps to convert LocalDate to java.util.Date in UTC Step 1: Import the required classes i.e., java.time and java.util ... Read More

Java program to generate a random number from an array

karthikeya Boyini
Updated on 02-Jul-2024 10:18:16

3K+ Views

In this article, we will learn how to generate a random number from an array of integers in Java by using Random class. The Random class provides methods to generate random numbers, and we will use the nextInt(int bound) method to get a random index within the bounds of our array length. Problem Statement Given an array of integers, we need to randomly select and display one element from the array using java. Input arr = { 10, 30, 45, 60, 78, 99, 120, 140, 180, 200}; Output Random number from the array = 30 Steps to Generate a ... Read More

Java Program for Closest Prime Number

Mr. Satyabrata
Updated on 02-Jul-2024 09:35:01

830 Views

A prime number is a positive integer greater than 1 that is only divisible by 1 and itself. Prime numbers are an essential concept in mathematics and computer science. They are integers that are only divisible by 1 and themselves. Finding prime numbers is an important task in many algorithms, and there are several methods to determine if a number is prime. One such problem is finding the closest prime number to a given number. Problem Statement For a given number find the closest prime number by using Java programming language. Consider the following example - Input ... Read More

How to apply multiple CSS properties using jQuery?

Alex Onsman
Updated on 01-Jul-2024 15:58:25

14K+ Views

Apply multiple CSS properties using jQuery CSS( {key1:val1, key2:val2....}) method. We can apply as many properties as we like in a single call. Syntax In the below mentioned way we can use the CSS. Here you can pass key as property and val as its value of that property. selector.css( {key1:val1, key2:val2....keyN:valN}) Define Multiple CSS Attributes in jQuery As we mentioned earlier that we will be using jQuery css() method to apply multpile CSS properties on any element. First we will use '$(selector)' to select the element where we wants to apply ... Read More

Difference between Data Analytics and Data Science

Shirjeel Yunus
Updated on 01-Jul-2024 14:58:02

28 Views

This is an article in which we will look at the difference between data analytics and data science. Data Science Data science is a field in which structured and unstructured data are used to extract meaningful information with the help of different algorithms and scientific methods. One of its fields is artificial intelligence which has now become very popular. The subjects included in data science are mathematics, statistics, science, programming, and many more. Importance of Data Science There are many important factors related to data science and some of them are listed below − Insights are extracted from the ... Read More

1 2 3 4 5 ... 10872 Next
Advertisements