Nitya Raut has Published 272 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

130 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

76 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

128 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

211 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

181 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

147 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

8K+ 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

Which event occurs in JavaScript when an element is content is copied to clipboard?

Nitya Raut

Nitya Raut

Updated on 23-May-2020 09:12:11

91 Views

When a user copies the element’s content, then the oncopy event triggers.ExampleYou can try to run the following code to learn how to implement oncopy event in JavaScript.                          function copyFunction() {             document.write("Text copied!");          }          

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