Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Share On Stumbleupon
Contact us
Hide Buttons

Category: Fundamentals

css31-min 0

css specificity interview question

Speci­ficity allows browsers to decide which CSS prop­erty val­ues are the most rel­e­vant to an ele­ment and, there­fore, will be applied. Speci­ficity only applies when the same ele­ment is tar­geted by mul­ti­ple dec­la­ra­tions. Inline…

FJS-1 0

imperative vs declarative/functional programming

Imper­a­tive Pro­gram­ming : It spec­i­fies a series of instruc­tions that the com­puter exe­cutes in sequence. For exam­ple, the fol­low­ing func­tion uses imper­a­tive approach for find­ing the square of each ele­ment in the given array. Declarative…

javascript 0

Default function parameters

The default func­tion para­me­ters in ES6, gives us the abil­ity to ini­tial­ize the func­tion argu­ments with default val­ues in case if they are unde­fined. For exam­ple, func­tion mult(a, b) { b = typeof b…

reactjs 0

Pure vs Impure functions

Char­ac­ter­estics of Pure Func­tions The return value of the pure func­tions solely depends on its argu­ments Hence, if you call the pure func­tions with the same set of argu­ments, you will always get the…

css31-min 0

css : center element vertically and horizontally

CSS trans­form allows us to mod­ify the coor­di­nate space of any ele­ment. trans­form can have one of the fol­low­ing func­tions as its value : rotate skew scale matrix trans­late per­spec­tive Using the trans­late func­tion we…

css31-min 0

css — circular profile pictures

Nowa­days, cir­cu­lar pro­file pic­tures are very pop­u­lar. It’s really sim­ple to cre­ate the cir­cu­lar pro­file pic­ture from a given square image using border-radius. Fol­low­ing exam­ple, ren­ders an orig­i­nal square image as well as the…