Frontend Interview

CSS

What is the difference between classes and ID's in CSS? ids are unique Each element can have only one id Each page can have only one element with that id classes are NOT unique You can use the same class on multiple elements. You can use multiple classes on the same element. Describe Floats and how they work. There are left, right and none for float.… Continue reading CSS

javascript

JS – Types & Grammar

Most developers would say that a dynamic language (like JS) does not have *types*. An ECMAScript language type corresponds to values that are directly manipulated by an ECMAScript programmer using the ECMAScript language. The ECMAScript language types are Undefined, Null, Boolean, String, Number, and Object. JavaScript defines seven built-in types: null undefined  boolean number string… Continue reading JS – Types & Grammar