Blog


03

May 2016

The else Statement of JavaScript

This statement will execute when if statement comes false. Which means if our if condition. Syntax : if (condition) { block of code to be executed if the condition is true } else { block of code to be executed if the condition is false } OUTPUT : Click the button to display a time-based greeting: See Results


03

May 2016

The if Statement of JavaScript

The first conditional statement which specifies a block of code to be executed if a condition is true. Syntax : if( condition ) { this statements or block of code will executed when condition is true }


03

May 2016

Conditional Statements in Javascript

In javascript Conditional statements are used to perform different actions based on different conditions. JavaScript Conditional Statement : if else else if switch OUTPUT : Good Evening!


03

May 2016

Bitwise Operators in JavaScirpt

JavaScript Bitwise operator works on 32 bit numbers. In this operation any numeric operand can converted into a 32-bit number and the result will back converted to javascript number. OUTPUT : The bitwise operator & returns a logical AND. result


02

May 2016

HTTP basic authentication using CURL PHP

CURL is a library that allows you to connect and communicate to many different types of servers with many different types of protocols. Or wecan say CURl is library through which we can make HTTP request in PHP. In order to use CURL funcion you need to install the libcurl package. The basic steps of using CURl function in PHP are: 1) Initialize a curl...

Read More


02

May 2016

Ternary Operator in JavaScript

In JavaScript conditional operator a operator that assigns a value to a variable based on some condition called Ternary Operator. Syntax : variablename = (condition) ? value1:value2 OUTPUT : Input your age and click the button: submit


02

May 2016

Logical NOT ( ! ) Operator In JavaScript

The NOT operator (!) returns true for false statements and false for true statements. OUTPUT : The NOT operator (!) returns true for false statements and false for true statements. true false


02

May 2016

Logical OR (||) Operator in JavaScript

The OR operator (||) returns true if one or both expressions are true, otherwise it returns false. OUTPUT: The OR operator (||) returns true if one or both expressions are true, otherwise it returns false. false true true


02

May 2016

Logical Operators in JavaScript

These operators are used to determine the logic between variables or values. Syntax : variablename = (condition) ? value1:value2 OUTPUT : The AND operator (&&) returns true if both expressions are true, otherwise it returns false. true false



Page 5 of 28« First...34567...1020...Last »