JavaScript If-else

JavaScript If-else

JavaScript If-else The JavaScript if-else statement is use for executing the code whether condition is true or false. There are 3 forms of if statement in JavaScript. 1) if Statement2) if else statement3) if else if statement JavaScript If statement It evaluates the content only if the given expression is true. The example for JavaScript …

Continue Reading…… JavaScript If-else

Magic Constants

Magic Constants

Magic Constants Magic constants are predefined constants in PHP that change based on their usage. They begin with a double underscore (__) and end with a double underscore. They are similar to other predefined constants but as they change their values ​​with reference, they are called magic constants. PHP has nine magic constants. In which …

Continue Reading…… Magic Constants

JavaScript Operators

JavaScript Operators

JavaScript Operators JavaScript operators are symbols which are use to perform operations on operands. For example: var sum=22-15; Here, the “-” operator is the arithmetic operator and “=” is the assignment operator we have used above. JavaScript has the following types of operators. Arithmetic Operators Comparison (Relational) Operators Bitwise Operators Logical Operators Assignment Operators Special …

Continue Reading…… JavaScript Operators

Javascript Data Types

Javascript Data Types

Javascript Data Types As we use different different values, JavaScript provides different data types to hold these different types of values. There are mainly two types of data types in JavaScript Primitive data type Non-primitive (reference) data type JavaScript is a dynamic type language, this means that you do not need to specify the type …

Continue Reading…… Javascript Data Types

What are literals?

What are literals?

What are literals? Literals are the constant values assigned to the constant variables. We can say that the literals represent the fixed values that cannot be modified. It also contains memory but does not have references as variables. For example, const int =10; is a constant integer expression in which 10 is an integer literal. …

Continue Reading…… What are literals?

HTML Layouts

HTML Layouts

HTML Layouts HTML layouts provide a way for web pages to be streamlined, well structured, and in responsive form or we can say that the HTML layout specifies a way in which web pages can be organized. The web-page layout works with the arrangement of visual elements of an HTML document. The web page layout …

Continue Reading…… HTML Layouts

ASCII value in C

ASCII value in C

ASCII value in C Hey everyone, Do you know what is ASCII or ASCII value? Today we will discuss about these ASCII value in C. What is ASCII code? ASCII stands for American Standard Code for Information Interchange. It is a character encoding scheme that is used for electronics communication. Each character or a particular …

Continue Reading…… ASCII value in C

HTML Head tag

HTML Head

HTML head tag The HTML head element is used as a container for metadata (data about data). It is used between the <html> tag and the <body> tag. An important part of an HTML document is the content of which is not displayed in the browser upon page loading. It only contains metadata about the …

Continue Reading…… HTML Head tag

Escape Sequence in C

Escape sequence in C programming language

Escape Sequence in C An escape sequence in C language is a sequence of characters that do not represent themselves when used inside a string literal or character. What is the Escape Character? We cannot print a new line by directly pressing the entry key in any programming language (C, C ++, Java, and C …

Continue Reading…… Escape Sequence in C