Javascript – prepend item to array
Javascript code to prepend an item at the beginning of array using arr.unshift() Prepend one value to array
Javascript – remove last item from array
Javascript code to remove last item from array using arr.pop() Append one value
Javascript – append item to array
Javascript code to append one or multiple values at the end of array Append one value Append multiple values
CSS font-family
CSS font-family is a list of font family names from which first value is used if present otherwise next value and so on. Here is read more
CSS font-size
The CSS font-size property sets the font size of an html element. Example – font-size
CSS font-weight
The CSS font-weight property selects the weight of the font. The keyword normal is synonymous with 400, and bold is synonymous with 700. Values from read more
CSS font-variant
The CSS font-variant property can be used to select small-caps variation within font family. In a small-caps font the lower case letters look similar to read more
CSS font-style
The CSS font-style property selects between normal (sometimes referred to as “roman” or “upright”), italic and oblique faces within a font family. Example – font-style
CSS font shorthand property
The CSS font property is a shorthand property for setting font-style, font-variant, font-weight, font-size, line-height and font-family. font values Few points to note: First three read more
CSS pointer-events – disable click on an element
CSS property pointer-events can be used enable/disable (default is enabled) mouse events on an element. If pointer-events is none for an element, the click event read more