Abhinanda Shri has Published 69 Articles

Align the text of a paragraph with CSS

Abhinanda Shri

Abhinanda Shri

Updated on 31-Jan-2020 06:04:53

478 Views

To align the text of a paragraph, use the text-indent property.ExamplePossible values are % or a number specifying indent space. You can try to run the following code to implement a text-index property with CSS:                            This text ... Read More

Increase or decrease how bold or light a font appears with CSS

Abhinanda Shri

Abhinanda Shri

Updated on 30-Jan-2020 10:19:08

346 Views

The font-weight property provides the functionality to specify how bold a font is. Possible values could be normal, bold, bolder, lighter, 100, 200, 300, 400, 500, 600, 700, 800, 900.                   This font is bold.       This font is bolder.       This font is 500 weight.    

In MySQL, how can we represent the time value as an integer?

Abhinanda Shri

Abhinanda Shri

Updated on 30-Jan-2020 05:27:51

881 Views

In MySQL, UNIX timestamp format is the way to represent time value as an integer. The integer value represented for the date value would be the number of seconds. The starting date for counting these number of seconds is ‘1970-01-01’.mysql> SELECT UNIX_TIMESTAMP('2017-10-22 04:05:36')AS 'Total Number of Seconds'; +-------------------------+ | Total ... Read More

In JavaScript inheritance how to differentiate Object.create vs new?

Abhinanda Shri

Abhinanda Shri

Updated on 24-Jan-2020 10:16:54

171 Views

In the first example, you are just inheriting amitBaseClass prototype.function SomeClass() { } SomeClass.prototype = Object.create(amitBaseClass.prototype);In the second example, you are executing the constructor function. An instance of amitBaseClass is created and you are inheriting the who complete amitBaseClass object.function SomeClass () { } SomeClass.prototype = new amitBaseClass ();So, ... Read More

What is the difference between "strict" and "non-strict" modes of JavaScript?

Abhinanda Shri

Abhinanda Shri

Updated on 16-Jan-2020 10:27:46

931 Views

The “use strict” is a directive, which is a literal expression. It introduced in JavaScript 1.8.5. As the name suggests, “use strict” indicates that the code is to be executed in strict mode. Under non-strict, the code won’t execute won’t execute in strict mode.Let us declare strict mode. To declare, ... Read More

Interacting SAP and Navision using 3rd party applications

Abhinanda Shri

Abhinanda Shri

Updated on 16-Dec-2019 07:13:59

224 Views

There are many middleware tools that work as middleware for integrating different applications. There exists a vast variety of them but choosing a correct one is based on the applications being integrated.For integrating the third-party application with either SAP or Navision, you can use Apache Camel. Also, SAP provides a ... Read More

How to use OR condition in a JavaScript IF statement?

Abhinanda Shri

Abhinanda Shri

Updated on 19-Sep-2019 08:07:16

5K+ Views

To use OR condition in JavaScript IF statement, use the || operator i.e Logical OR operator. If any of the two operands are non-zero, then the condition becomes true.Here’s how you can use the operator || in JavaScriptExampleLive Demo                    var ... Read More

Why do we use restrict qualifier in C++?

Abhinanda Shri

Abhinanda Shri

Updated on 30-Jul-2019 22:30:21

270 Views

There's no such keyword in C++. List of C++ keywords can be found in section 2.11/1 of C++ language standard. restrict is a keyword in the C99 version of C language and not in C++.In C, A restrict-qualified pointer (or reference) is basically a promise to the compiler that for ... Read More

How to concatenate lists in java?

Abhinanda Shri

Abhinanda Shri

Updated on 30-Jul-2019 22:30:21

652 Views

The addAll(Collection

How can I use goto statement in JavaScript?

Abhinanda Shri

Abhinanda Shri

Updated on 30-Jul-2019 22:30:21

3K+ Views

JavaScript goto statement is a reserved keyword. Generally, according to web standards it isn’t considered a good practice to use goto statement.Using goto with JavaScript preprocessing is still considered good as shown below.var a = 0; [lbl] beginning: console.log("Demo Text!"); a++; if(i < 424) goto beginning;The above code gets translated ... Read More

Advertisements