Nishtha Thakur has Published 387 Articles

How to get a number of days in a specified month using JavaScript?

Nishtha Thakur

Nishtha Thakur

Updated on 17-Jun-2020 06:47:45

1K+ Views

To get numbers of days in a month, use the getDate() method and get the days.ExampleYou can try to run the following code to get a number of days in a month −Live Demo                 var days = function(month, year) { ... Read More

How I can set the width and height of a JavaScript alert box?

Nishtha Thakur

Nishtha Thakur

Updated on 16-Jun-2020 13:38:12

4K+ Views

To set the width and height of an alert box in JavaScript, you need to use the custom alert box. This alert box is styled with CSS.Set the width and height of the alert box using the following code, which uses jQuery, a JavaScript library −Example       ... Read More

How to create a modal popup using JavaScript and CSS?

Nishtha Thakur

Nishtha Thakur

Updated on 16-Jun-2020 13:05:24

642 Views

Creating a modal popup means adding a dialog box, which generates on click of a button and close when user clicks anywhere outside of the popup.Here’s how a popup looks like below with header and a text. You can also add a footer to it −To create a modal popup ... Read More

How to store large data in JavaScript cookies?

Nishtha Thakur

Nishtha Thakur

Updated on 16-Jun-2020 12:03:27

739 Views

To store large values in JavaScript cookies, try the following possibilities −Create a "session id" and save the settings in a database. Then store the session id in the cookie.Store the indexes of the selected items. Let’s say the selected items are the first 20 items on the list −P[0, ... Read More

Why to use canvas tag in HTML5?

Nishtha Thakur

Nishtha Thakur

Updated on 15-Jun-2020 11:53:50

299 Views

Specifies height of the canvas.The HTML tag is used to draw graphics, animations, etc. using scripting. The tag introduced in HTML5.Let’s see a simple element with two specific attributes width and height along with all the core HTML5 attributes like id, name, and class etc.Here are the ... Read More

Set all list items on a single line with Bootstrap

Nishtha Thakur

Nishtha Thakur

Updated on 15-Jun-2020 06:27:53

2K+ Views

To set all list items on a single line, use the .list-inline class.You can try to run the following code to implement the .list-inline class −ExampleLive Demo           Bootstrap Example                                          Technologies                       Home             PHP             Java             jQuery             JavaScript             Ruby                    

Remove shadow of an element in Bootstrap 4

Nishtha Thakur

Nishtha Thakur

Updated on 12-Jun-2020 19:54:49

2K+ Views

Use the .shadow-none class in Bootstrap to remove shadow.You can try to run the following code to remove an element’s shadow −ExampleLive Demo           Bootstrap Example                                                      Learning          Learn Tutorials for free          Play Quiz and check your knowledge          

Filter table with Bootstrap

Nishtha Thakur

Nishtha Thakur

Updated on 12-Jun-2020 19:42:29

3K+ Views

To filter a table in Bootstrap, you can try to run the following code −ExampleLive Demo           Bootstrap Example                                          Students Rank ... Read More

Create a progress bar with Bootstrap

Nishtha Thakur

Nishtha Thakur

Updated on 12-Jun-2020 18:59:50

499 Views

To create a basic progress bar in Bootstrap, use the .progress and .progress-bar class.You can try to run the following code to form a progress bar −ExampleLive Demo           Bootstrap Example                                                       60% Complete                    

Bootstrap danger Contextual class

Nishtha Thakur

Nishtha Thakur

Updated on 12-Jun-2020 17:55:54

256 Views

The Bootstrap danger contextual class indicates a danger action.You can try to run the following code to implement the .danger class −ExampleLive Demo           Bootstrap Table                                                                      Subject                Marks                Student                                                            Programming                90                Amit                                         Web Dev                 92                 Yuvraj                                        Science                95                Sachin                                        Economics                80                Tony                                

Previous 1 ... 3 4 5 6 7 ... 39 Next
Advertisements