Chandu yadav

Chandu yadav

810 Articles Published

Articles by Chandu yadav

Page 35 of 81

Bootstrap Filter list

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 3K+ Views

To create a filter list, use the .list-group class in Bootstrap.You can try to run the following code to create a filter list −Example           Bootstrap Example                                          Tutorials                                           Java             jQuery             PHP             AngularJS             Ruby             C                                $(document).ready(function(){             $("#demo").on("keyup", function() {                var value = $(this).val().toLowerCase();                $("#newList li").filter(function() {                   $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1)                });             });          });          

Read More

Add a red background color to an element to set danger action with Bootstrap

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 349 Views

Use the .btn-danger class to set danger action for a button i.e. red background color to an element.You can try to run the following code to implement danger action −Example           Bootstrap Example                                          Categories                      Tech 95          Entertainment 30          Research 9          Viral 20          Sport 105                      Do not click below:          Danger          

Read More

Bootstrap table-responsive class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 2K+ Views

Wrapping any .table in .table-responsive class, you will make the table scroll horizontally up to small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.To make a responsive table, you can try to run the following code −Example           Bootstrap Table                                                                                         Subject                   Marks                   Student                                                                  Programming                90                Amit                                        Web Dev                92                Yuvraj                                        Science                95                Sachin                                        Economics                80                Tony                                

Read More

Bootstrap .btn-xs class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 847 Views

To create extra small buttons, use the .btn-xs class.You can try to run the following code to implement btn-xs class in Bootstrap −Example           Bootstrap Example                                       The following are extra small buttons:                Extra small Primary button                      Extra small button          

Read More

Set the width of an element to 75% in Bootstrap

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 1K+ Views

To set the width of an element to 75%, use the .w-75 class in Bootstrap.You can try to run the following code to set element’s width −Example           Bootstrap Example                                          Set element width          Normal width          Width is 75%    

Read More

Bootstrap .has-warning class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 570 Views

The has-warning class allows you to set warning for input.You can try to run the following code to implement has-warning class −Example           Bootstrap Example                                                                      Input with warning                                                                        

Read More

Bootstrap .btn-warning class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 330 Views

The .btn-warning class is used to set a warning button.You can try to run the following code to implement the btn-warning class −Example           Bootstrap Example                                       Warning Button    

Read More

Bootstrap .btn-block class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 487 Views

To create a button using the .btn-block class, you can try to run the following code −Example           Bootstrap Example                                       The following are block level buttons:                Block level Primary button                      Block level button          

Read More

Bootstrap .radio-inline class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 1K+ Views

Use .radio-inline class to a series of radios for controls to appear on the same line. You can try to run the following code to implement the radio-inline class in Bootstrap −Example           Bootstrap Forms                                       Best Porgraming Language                             Java                                 C                                 C++                    

Read More

Modular multiplicative inverse in java

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 1K+ Views

The java.math.BigInteger.modInverse(BigInteger m) returns a BigInteger whose value is (this-1 mod m). Using this method you can calculate Modular multiplicative inverse for a given number.Programimport java.math.*; public class BigIntegerDemo {    public static void main(String[] args) {       // create 3 BigInteger objects       BigInteger bi1, bi2, bi3;             // create a BigInteger exponent       BigInteger exponent = new BigInteger("2");       bi1 = new BigInteger("7");       bi2 = new BigInteger("20");             // perform modPow operation on bi1 using bi2 and exp       bi3 = bi1.modPow(exponent, bi2);       String str = bi1 + "^" +exponent+ " mod " + bi2 + " is " +bi3;             // print bi3 value       System.out.println( str );    } }Output7^2 mod 20 is 9

Read More
Showing 341–350 of 810 articles
« Prev 1 33 34 35 36 37 81 Next »
Advertisements