Cracking JavaScript,HTML and CSS Interviews (Part-1) – User friendly Tech help

Today we are sharing our first interview post for our web developer community. Hope it facilitate them in achieving their aspirations.
n
“First they ignore you. Then they laugh at you. Then they fight you. Then you win.” by Nicholas Klein

n

n

n

n

n

n

n

n

Add caption

n

JavaScript:-
n
1) what are the Data types in JavaScript?
n2) What will be the value of a?
n
nScenario1:
nfunction fn(){
nalert(a);
na = 10;
nalert(a);
n}
nalert(a);
nfn();
nalert(a);
n
nScenario 2:
nfunction fn(){
nalert(a);
nvar  a = 10;
nalert(a);
n};
nalert(a);
na=20;
nfn();
nalert(a);
n
n3) What will be the value of a and b?
nScenario 1:
nvar a =10;
nvar b = a;
n a= null;
n
nScenario 2:
nvar obj ={};
nobj.a = 10;
nobj.b= obj.a;
nobj.a =null;
n
n4) What are the different methods to call a function in JavaScript?
n5) What is the difference between function.call() and function.apply()?
n6) What is event propagation?
n7) What is the scope of variables in JavaScript?
n8) Explain hoisting?
n9) Difference between === and == ?
n10) What will be value of  “” == 0?
n11) Why we implement “use strict”?
n
nHTML:-
n1) If !DOCTYPE is not mentioned, will the page render?
n2) What are the New form elements in HTML5.
n3) Local Storage
na) Is local storage domain specific?
nb) Can we access local storage in different browsers if a website using local storage is open only on one browser?
nc) What is the scope of session storage?
n
n
nCSS:-
n
1) What is positioning? Explain along with examples?
n2) Difference between display:none; , visibility:hidden; , overflow:hidden;? Where should we use it?

Was this article helpful?
YesNo

Similar Posts