Nitya Raut has Published 276 Articles

What is the "double tilde" (~~) operator in JavaScript?

Nitya Raut

Nitya Raut

Updated on 13-Jun-2020 09:22:07

2K+ Views

The “double tilde” (~~) operator is a double NOT Bitwise operator. Use it as a substitute for Math.floor(), since it’s faster.ExampleYou can try to run the following code to learn about double tilde operator −                    var a = 2;   ... Read More

What is Addition Assignment Operator (+=) in JavaScript?

Nitya Raut

Nitya Raut

Updated on 13-Jun-2020 08:19:32

116 Views

It adds the right operand to the left operand and assigns the result to the left operand.ExampleYou can try to run the following code to learn how to work with Addition Assignment Operator −                    var a = 33;     ... Read More

Working with Bootstrap Jumbotron

Nitya Raut

Nitya Raut

Updated on 12-Jun-2020 21:30:59

69 Views

Jumbotron component can optionally increase the size of headings and add a lot of margin for landing page content.To use it follow the below given steps −Create a container with the class of .jumbotron.In addition to a larger , the font-weight is reduced to 200Let us see an example ... Read More

Create a caret arrow icon that represents dropdown button with Bootstrap

Nitya Raut

Nitya Raut

Updated on 12-Jun-2020 21:06:04

2K+ Views

Use the .caret class in Bootstrap to create a caret arrow icon representing dropdown button.You can try to run the following code to create a carot arrow icon −ExampleLive Demo           Bootstrap Example                                          Brands          The car brands:                       Car                            BMW                Toyota                Audi                Mahindra                Volvo                                

Add a blue background color to simulate a pressed button in Bootstrap

Nitya Raut

Nitya Raut

Updated on 12-Jun-2020 20:01:42

119 Views

To add a blue background color to simulate a pressed button, use the primary button in Bootstrap as in the following code −ExampleLive Demo           Bootstrap Example                                          Score          Result (2018)          Result (2017)          

Create a blue button (primary) with Bootstrap

Nitya Raut

Nitya Raut

Updated on 12-Jun-2020 18:32:31

195 Views

Use the .btn-primary class in Bootstrap to create a primary button in Bootstrap that is blue in color −ExampleLive Demo           Bootstrap Example                                 Click below if you want to know the result:       Result    

Bootstrap table-striped class

Nitya Raut

Nitya Raut

Updated on 12-Jun-2020 17:36:43

173 Views

To implement the table-striped class in Bootstrap, you can try to run the following code:ExampleLive Demo           Bootstrap Table                                                Footballer Rank                                      Footballer                Rank                Country                                

Using Bootstrap nav-tabs class

Nitya Raut

Nitya Raut

Updated on 12-Jun-2020 16:24:21

139 Views

Use the nav-tabs Bootstrap class to create a tabbed navigation menu. You can try to run the following code to create tabbed navigation menu:ExampleLive Demo           Bootstrap Example                                 Course Structure                Java          WordPress          JavaScript          AngularJS          

How to display an image in HTML?

Nitya Raut

Nitya Raut

Updated on 30-May-2020 23:01:27

7K+ Views

Use the tag in HTML to display an image. The following are the attributes −AttributeValueDescriptionAligntopbottommiddleleftrightDeprecated− Specifies the alignment for the image.AlttextSpecifies alternate textBorderpixelsDeprecated − Specifies the width of the image border.crossorigin anonymous use-credentialsIt allows images from third-party sites that allow cross-origin access to be reused with canvas.Heightpixels or %Specifies ... Read More

How to we use global translate attribute in HTML5?

Nitya Raut

Nitya Raut

Updated on 29-May-2020 22:53:50

106 Views

The translate attribute is useful to set that the content of an element is to be translated or not.The following are the attributes −AttributeValueDescriptionYesThe content should be translated.NoThe content should be translated.If you did not want a specific word to be translated, then add it to the translate attribute −This won’t ... Read More

Previous 1 ... 5 6 7 8 9 ... 28 Next
Advertisements