Skip to content

Instantly share code, notes, and snippets.

@sk8terboi87
Created February 21, 2014 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sk8terboi87/9140041 to your computer and use it in GitHub Desktop.
Save sk8terboi87/9140041 to your computer and use it in GitHub Desktop.
interview quetsions
====================
Prescreening
---------------
Hi, how are you?
Provide a very short brief intro about yourself?
HTML
- HTML5 tags
- What's new HTML 5 DocType and Charset?
<!doctype html>
<meta charset="UTF-8">
- HTML5 storages?
- How would you check if a variable is null/undefined?
-- bar === null | typeof bar === "undefined"
- submit a form using javascript
-- //document.forms[0].submit();
- Does JavaScript Support automatic type conversion, If yes give example.
-- typeof(s);
CSS
- Does css properties are case sensitive?
- ID or Class has high priorty
- What are the differences between visibility hidden and display none?
- What are the differences between inline, block
--
Seniors
- cookies vs localstorage
- Javascript frameworks?
- Javascript associate array
-- var myMap = { key: [ value1, value2 ] };
- (function() {
var foo = 1;
function bar() {
var foo = 2;
}
bar();
console.log(foo) //outputs 1
if(true) {
var foo = 3; //redeclares foo
}
console.log(foo) //outputs 3
})();
- closure
(function() {
function foo(x) {
var baz = 3;
return function (y) {
console.log(x, y)
console.log(x + y + baz);
}
}
var moo = foo(2); // moo is now a closure.
console.log(moo);
moo(2);
moo(1);
})();
- hide image tag
<div class="content">
<p>Some Content Here</p>
<p class="loader"><img src="ajax-loader.gif"></p>
</div>
CSS
- Why would you use sprites?
- What is specificity?
- <ul class="shopping-list" id="awesome">
<li><span>Milk</span></li>
<li class="favorite" id="must-buy"><span class="highlight">I am awesome</span></li>
</ul>
<style>
ul#awesome {
color: red;
}
ul.shopping-list li.favorite span {
color: blue;
}
</style>
-
You will be doing a small task in couple moments, what framework are you going to use?
=======================
Final
---------------
Can you explain about the recent project you have done?
can you explain some tricky/tough area you have came across in that project?
what you think about code quality? what are thinks you do to improve your code?
code quality or delivery?
In what areas you would like to improve yourself?
What growth are you expecting after joining here?
========
Start slow
- hi, how are you?
- go through the profile and ask questions
-
Ask what i dont know
Previous success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment