You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+31-10Lines changed: 31 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,43 @@
1
1

2
2
3
3
# Front End Interview Questions and Answers
4
-
This information is intended for the potential Front End Developer candidates.
5
-
The following list includes a basic theoretical and code questions.
4
+
This information is intended for the potential Front End Developer candidates. The following list includes a basic theoretical and code questions.
5
+
I hope, that my experience and experience of other developers will helps you to get the best interview results.
6
6
7
-
I hope, that my experience and experience of other developers will helps you to get the best interview results.
7
+
**P.S. My main goal is to help candidates and to myself to get more web knowledge. Based on this point, let's improve the hard skills of Front-End community together. Please, send you Front-End interview questions via pull request.**
1. What was the most interesting solution did you implemented at the last project?
23
26
1. What is the last book you read?
24
27
1. How big your team ever was?
25
28
1. Have you ever worked in [Agile, Scrum or Kanban](https://www.smartsheet.com/agile-vs-scrum-vs-waterfall-vs-kanban) environments?
26
-
1. What developers of Front End community do you know?
27
-
1. What is 'Gangs of four'?
29
+
1. Which developers of Front End community do you know?
30
+
1. What do you hear about 'Gangs of four'?
31
+
1. Explain the difference between unit tests and integration tests? - [@answer--stackoverflow](https://stackoverflow.com/a/5357837/5513804)
32
+
1. What are the most common types of web attacks do you know? - [@answer--blog.sucuri.net](https://blog.sucuri.net/2014/11/most-common-attacks-affecting-todays-websites.html)
33
+
1. What is 'duck typing'? - [@answer--wikipedia](https://en.wikipedia.org/wiki/Duck_typing)
28
34
29
35
## Common technical interview questions
30
36
1. What is [REST](http://www.restapitutorial.com/)? - [@library--restcookbook](http://restcookbook.com/)
31
37
1. What is the difference between PUT and PATCH methods in REST? - [@answer--stackoverflow](https://stackoverflow.com/questions/21660791/what-is-the-main-difference-between-patch-and-put-request)
32
38
1. Tell about the differences between [websockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket), long polling and [SSE](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events). - [@answer--stackoverflow](https://stackoverflow.com/questions/11077857/what-are-long-polling-websockets-server-sent-events-sse-and-comet)
33
39
1. What is CORS? - [@answer--maxcdn.com](https://www.maxcdn.com/one/visual-glossary/cors/), [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
34
-
1.What is the main things you can do to increase page speed loading? - [@answer--crazyegg.com](https://www.crazyegg.com/blog/speed-up-your-website/)
40
+
1.List the main things you can do to increase page speed loading? - [@answer--crazyegg.com](https://www.crazyegg.com/blog/speed-up-your-website/)
35
41
1. Progressive enhancement vs graceful degradation. What is the difference? - [@answer--w3](https://www.w3.org/wiki/Graceful_degradation_versus_progressive_enhancement)
36
42
1. Do you use [Grunt](https://gruntjs.com/), [Gulp](https://gulpjs.com/), [Webpack](https://webpack.github.io/) or Browserify in your projects?
37
43
1. What do you know about "60fps"? What way to achieve this? - [@answer--github](https://github.com/vasanthk/browser-rendering-optimization)
@@ -41,6 +47,7 @@ I hope, that my experience and experience of other developers will helps you to
41
47
1. Could you list main HTML5 tags? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/HTML/Element)
42
48
1. What does mean optional closing tag? - [@doc--w3](https://www.w3.org/TR/REC-html40/index/elements.html)
43
49
1. When and how to preload resources? - [@answer--medium](https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf)
50
+
1. What is different between id and class?
44
51
45
52
## CSS Interview Questions
46
53
1. What is different between mobile first and desktop first - [@answer--codemyviews.com](https://codemyviews.com/blog/mobilefirst)?
@@ -49,13 +56,27 @@ I hope, that my experience and experience of other developers will helps you to
49
56
1. What preprocessor do you use ([Sass](http://sass-lang.com/), [Less](http://lesscss.org/))?
50
57
51
58
## Javascript Interview Questions
52
-
1. Who is the author of JavaScript Language? -
59
+
60
+
#### Junior candidate
61
+
1. Who is the author of JavaScript Language?
62
+
1. What is the best book for learning JavaScript? Why? - [@answer-good-js-books--github](https://github.com/wwwebman/js-books-backpack)
63
+
1. What type of NaN? How to check if a value is NaN?
64
+
1. What the reason that `window.window === window` return true? - [@doc--mdn](https://developer.mozilla.org/pl/docs/Web/API/Window/window)
65
+
1. What is the outcome of Javascript calculation? `1/0 = ?`
66
+
67
+
#### Middle candidate
68
+
1. What does `this` refer to? - [@answer--javascriptissexy](http://javascriptissexy.com/understand-javascripts-this-with-clarity-and-master-it/)
53
69
1. What is the JavaScript Event Loop? - [@answer--altitudelabs.com](http://altitudelabs.com/blog/what-is-the-javascript-event-loop/), [@video-Roberts--youtube](https://www.youtube.com/watch?v=8aGhZQkoFbQ&t=1244s)
54
70
1. What is the Event Delegation? - [@answer--davidwalsh](https://davidwalsh.name/event-delegate), [@code-example](https://jsfiddle.net/thisman/h2eqfsx6/)
55
71
1. What is the difference between e.target and e.currentTarget? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget), [@code-example](https://jsfiddle.net/thisman/gkdeocd6/)
56
-
1. What patterns do you know and successfully use in JavaScript?
57
72
1. What is [`Window.postMessage()`](https://davidwalsh.name/window-postmessage) and where it can be used? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)
58
73
1. Is there any difference between Promises and callbacks? Which is better? - [@answer-callback--callbackhell.com](http://callbackhell.com/),
74
+
1. What is the recursion? When using of the recursion can be useful in Javascript? - [@answer--medium](https://medium.com/@dis_is_patrick/practical-uses-for-recursive-javascript-b8f142552f8b)
75
+
76
+
#### Senior candidate
77
+
1. What patterns do you know and successfully use in JavaScript?
78
+
1. What is the different between Deferred and Promise objects? Where is Deferred object used?
79
+
1. What is the problem throttling and debouncing are resolved? What is the core difference between them? - [@answer--medium](https://medium.com/@_jh3y/throttling-and-debouncing-in-javascript-b01cad5c8edf)
59
80
60
81
## Javascript Coding Questions
61
82
* Write a `pipefy` function where a string received is returned, but with the `|` character between each character. Make it possible to execute function in this way: `'javascript'.pipefy()`. - [@code-answer](https://jsfiddle.net/thisman/6ynaf3ot/)
@@ -65,7 +86,7 @@ I hope, that my experience and experience of other developers will helps you to
65
86
// Code below must return true
66
87
alert(factorial(3) ===6&&factorial(0) ===1);
67
88
```
68
-
* Which line of the below code will be executed cowith an error. Why?
89
+
* Which line of the below code will be executed with an error. Why?
0 commit comments