Javascript Articles

Page 306 of 534

Add sizes for Bootstrap Buttons

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 321 Views

Bootstrap provides several CSS classes to control button sizes, from large buttons to block-level buttons that span the full width of their container. Button Size Classes Class Description .btn-lg ...

Read More

How to debug JavaScript in Visual Studio?

Nancy Den
Nancy Den
Updated on 15-Mar-2026 3K+ Views

To debug JavaScript in Visual Studio, you need to configure both Visual Studio and Internet Explorer settings. This guide covers the essential steps for debugging client-side JavaScript applications. Prerequisites Before debugging JavaScript in Visual Studio, ensure you have: Visual Studio installed with web development workload A web project containing JavaScript files Internet Explorer available (Visual Studio's default debugging browser) Setting Up Visual Studio Project Follow these steps to configure your Visual Studio project for JavaScript debugging: Open Visual Studio ...

Read More

img-rounded Bootstrap class

George John
George John
Updated on 15-Mar-2026 352 Views

Use the img-rounded Bootstrap class to style your image and give it rounded corners. This class applies CSS border-radius to create smooth, rounded edges on images. Syntax Example Bootstrap Images Styling Images with Bootstrap ...

Read More

How to debug obfuscated JavaScript?

Ankitha Reddy
Ankitha Reddy
Updated on 15-Mar-2026 696 Views

Debugging obfuscated JavaScript code requires unminifying and formatting the compressed code to make it readable. Obfuscated code is deliberately made difficult to understand by removing whitespace, shortening variable names, and sometimes encoding strings. What is Obfuscated JavaScript? Obfuscated JavaScript is code that has been intentionally made difficult to read and understand. It typically looks like this: var _0x1234=['hello', 'world'];function _0x5678(){console.log(_0x1234[0]+' '+_0x1234[1]);} Method 1: Using Online JavaScript Formatter The easiest way to debug obfuscated code is using an online formatter. Go to the TutorialsPoint JavaScript Formatter: Paste your obfuscated JavaScript code in ...

Read More

How to Debug JavaScript on iPad?

Abhinanda Shri
Abhinanda Shri
Updated on 15-Mar-2026 776 Views

To debug JavaScript on iPad, you need to use Safari's Web Inspector feature along with a Mac computer. This process involves enabling developer tools on both devices and establishing a connection between them. Prerequisites Before starting, ensure you have: An iPad with Safari browser A Mac computer with Safari installed A USB cable to connect iPad to Mac The website or web app you want to debug Step 1: Enable Web Inspector on iPad First, you need to enable the Web Inspector feature in your iPad's Safari settings: Open the Settings app ...

Read More

What are different Navigator methods available?

Jennifer Nicholas
Jennifer Nicholas
Updated on 15-Mar-2026 275 Views

The Navigator object provides several methods to interact with the browser and detect client capabilities. Here are the main Navigator methods available in JavaScript: Navigator Methods Overview Method Description Browser Support ...

Read More

Wrap Strings of Text in Bootstrap Navbar

Ankith Reddy
Ankith Reddy
Updated on 15-Mar-2026 649 Views

To wrap strings of text in a Bootstrap navbar, use the .navbar-text class. This class ensures proper vertical alignment and styling for non-link text content within navigation bars. What is navbar-text? The .navbar-text class is specifically designed for adding non-interactive text elements to Bootstrap navbars. It provides appropriate spacing, alignment, and color styling that matches the navbar's design. Example You can try to run the following code to set text in Bootstrap Navbar: Bootstrap Navbar Text Example ...

Read More

What is the role of clearTimeout() function in JavaScript?

Srinivas Gorla
Srinivas Gorla
Updated on 15-Mar-2026 346 Views

The clearTimeout() function cancels a timeout that was previously set with setTimeout(). When you call setTimeout(), it returns a timeout ID that you can use with clearTimeout() to stop the scheduled execution. Syntax clearTimeout(timeoutID) Parameters timeoutID - The identifier returned by setTimeout() that you want to cancel Basic Example clearTimeout Example Start Timer Cancel Timer ...

Read More

Bootstrap Labels

Samual Sam
Samual Sam
Updated on 15-Mar-2026 227 Views

Labels are great for offering counts, tips, or other markups for pages. Bootstrap provides the .label class to create inline labels that complement text content. Basic Label Syntax Use the .label class along with contextual classes to create different styled labels: Default Primary Success Example Here's a complete example showing labels used with headings to display counts: Bootstrap Labels Example ...

Read More

How to differentiate between Manual and Automated Animation in JavaScript?

Shubham Vora
Shubham Vora
Updated on 15-Mar-2026 663 Views

Generally, animation in JavaScript is done to get different effects and make the object move around the page. You can move and animate any type of HTML element using manual or automated animations in JavaScript. In this tutorial, we will learn how to differentiate between manual and automated animation in JavaScript. Manual Animation Manual animation requires user interaction to trigger movement or changes. The animation process is not automated and depends on events like button clicks or mouse actions. The following implementation demonstrates a simple manual animation using DOM object properties and JavaScript functions: ...

Read More
Showing 3051–3060 of 5,340 articles
« Prev 1 304 305 306 307 308 534 Next »
Advertisements