1-CSS syntax follows a simple rule-set that consists of two principles: CSS selectors and declaration blocks.
2-CSS is for assigning certain values to properties. In other words, CSS tells the browser which fonts, colors, decorations, or other features HTML elements use.
With an external style sheet, you can change the look of an entire website by changing just one file!
An internal style sheet may be used if one single HTML page has a unique style. The internal style is defined inside the style tag element, inside the head section.
There are many different types of CSS selector that allow you to target rules to specific elements in an HTML document.
The CSS Cascade is the algorithm by which the browser decides which CSS styles to apply to an element
In CSS, some styles are inherited down the HTML document tree while others are not. While this can be confusing, the principle behind it is actually designed to allow to write fewer CSS rules. for examole
*
An array is a special type of variable. It doesn’t just store one value; it stores a list of values.
1- Expression that just assign a value to a variable:ex var color = ‘beige’;
Expressions rely on things called operators; they allow programmers to create a single value from one or more values.
A comparison operator compares its operands and returns a logical value based on whether the comparison is true. The operands can be numerical, string, logical, or object values. Strings are compared based on standard lexicographical ordering, using Unicode values. In most cases, if the two operands are not of the same type, JavaScript attempts to convert them to an appropriate type for the comparison. This behavior generally results in comparing the operands numerically.
Logical operators are typically used with Boolean (logical) values; when they are, they return a Boolean value.