JavaScript Operator

Let us take a simple expression 4 + 5 is equal to 9. Here 4 and 5 are calledoperands and ‘+’ is called the operator. JavaScript supports the following types of operators. Arithmetic Operators Comparision Operators Logical (or Relational) Operators Assignment Operators Conditional (or ternary) Operators Lets have a look on all operators one by … Read more

Hashes in perl : Key values Hashes

Hashes are one of the data structures available in Perl.A hash is an un-ordered group of key-value pairs. The keys are unique strings. The values are scalar values. Each value can be either a number, a string, or a reference. We’ll learn about references later. Hashes, like other Perl variables, are declared using the my keyword. The … Read more

CSS Selectors – manipulate HTML element : Chapter 3

html-css-website

CSS Selectors CSS selectors allow you to select and manipulate HTML element(s). CSS selectors are used to “find” (or select) HTML elements based on their id, classes, types, attributes, values of attributes and much more. 1. The element Selector The element selector selects elements based on the element name.You can select all <p> elements on … Read more

CSS Syntax : Chapter 2

html-css-website

A CSS declaration always ends with a semicolon, and declaration groups are surrounded by curly braces: p {color:red;text-align:center;} To make the CSS code more readable, you can put one declaration on each line, like this: Example p { color: red; text-align: center; } CSS Comments Comments are used to explain your code, and may help you when you … Read more