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
+29-21Lines changed: 29 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
-
# Front-End Interview Questions and Answers
1
+

2
+
3
+
# Front End Interview Questions and Answers
2
4
This information is intended for the potential Front End Developer candidates.
3
-
The following list include a basic theoretical and code questions.
5
+
The following list includes a basic theoretical and code questions.
4
6
5
-
Dude or pretty lady, I hope that my experience and experience of other developers will help you get the best interview result.
7
+
I hope, that my experience and experience of other developers will helps you to get the best interview results.
1.[Examples for Answers classification](#answers-classification)
16
20
17
21
## Common interview questions
18
22
1. What was the most interesting solution did you implemented at the last project?
@@ -26,16 +30,16 @@ Dude or pretty lady, I hope that my experience and experience of other developer
26
30
1. What is [REST](http://www.restapitutorial.com/)? - [@library--restcookbook](http://restcookbook.com/)
27
31
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)
28
32
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)
29
-
1. What is CORS? - [@answer--maxcdn.com](https://www.maxcdn.com/one/visual-glossary/cors/), [@answer--mdn](https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS)
33
+
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)
30
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/)
31
35
1. Progressive enhancement vs graceful degradation. What is the difference? - [@answer--w3](https://www.w3.org/wiki/Graceful_degradation_versus_progressive_enhancement)
32
36
1. Do you use [Grunt](https://gruntjs.com/), [Gulp](https://gulpjs.com/), [Webpack](https://webpack.github.io/) or Browserify in your projects?
33
37
1. What do you know about "60fps"? What way to achieve this? - [@answer--github](https://github.com/vasanthk/browser-rendering-optimization)
34
38
1. What is the difference between layout, painting and compositing? - [@answer--google](https://developers.google.com/web/fundamentals/performance/rendering/?hl=en)
35
39
36
40
## HTML Interview Questions
37
-
1. Could you list main HTML5 tags? - [@answer--mdn](https://developer.mozilla.org/en-US/docs/Web/HTML/Element)
38
-
1. What does mean optional closing tag? - [@answer--w3](https://www.w3.org/TR/REC-html40/index/elements.html)
41
+
1. Could you list main HTML5 tags? - [@doc--mdn](https://developer.mozilla.org/en-US/docs/Web/HTML/Element)
42
+
1. What does mean optional closing tag? - [@doc--w3](https://www.w3.org/TR/REC-html40/index/elements.html)
39
43
1. When and how to preload resources? - [@answer--medium](https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf)
40
44
41
45
## CSS Interview Questions
@@ -46,22 +50,22 @@ Dude or pretty lady, I hope that my experience and experience of other developer
46
50
47
51
## Javascript Interview Questions
48
52
1. Who is the author of JavaScript Language? -
49
-
1. What is the JavaScript Event Loop? - [@answer--](http://altitudelabs.com/blog/what-is-the-javascript-event-loop/), [Philip Roberts answer](https://www.youtube.com/watch?v=8aGhZQkoFbQ&t=1244s)
50
-
1. What is the Event Delegation? - [@answer--](https://davidwalsh.name/event-delegate), [example](https://jsfiddle.net/thisman/h2eqfsx6/)
51
-
1. What is the difference between e.target and e.currentTarget? - [@answer--](https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget), [example](https://jsfiddle.net/thisman/gkdeocd6/)
53
+
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
+
1. What is the Event Delegation? - [@answer--davidwalsh](https://davidwalsh.name/event-delegate), [@code-example](https://jsfiddle.net/thisman/h2eqfsx6/)
55
+
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/)
52
56
1. What patterns do you know and successfully use in JavaScript?
53
-
1. What is [`Window.postMessage()`](https://davidwalsh.name/window-postmessage) and where it can be used? - [@answer--](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage)
54
-
1. Is there any difference between Promises and callbacks? Which is better? - [callbackhell.com](http://callbackhell.com/),
57
+
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
+
1. Is there any difference between Promises and callbacks? Which is better? - [@answer-callback--callbackhell.com](http://callbackhell.com/),
55
59
56
60
## Javascript Coding Questions
57
-
* 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()`. - [@answer--](https://jsfiddle.net/thisman/6ynaf3ot/)
61
+
* 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/)
58
62
* write a [currying function](https://medium.com/@adambene/currying-in-javascript-es6-540d2ad09400) that return sum of two numbers.
59
-
* Write a [factorial](https://www.mathsisfun.com/numbers/factorial.html) function without [side effect](https://stackoverflow.com/a/8129277/5513804). [@answer--](https://jsfiddle.net/thisman/8v0h5oLq/)
63
+
* Write a [factorial](https://www.mathsisfun.com/numbers/factorial.html) function without [side effect](https://stackoverflow.com/a/8129277/5513804). [@code](https://jsfiddle.net/thisman/8v0h5oLq/)
60
64
```js
61
65
// Code below must return true
62
66
alert(factorial(3) ===6&&factorial(0) ===1);
63
67
```
64
-
* Which line of the below code will be executed with an error. Why?
68
+
* Which line of the below code will be executed cowith an error. Why?
1. Why rendering of React Components in the custom `<div id="app">` is good practice than simple to the `<body>`?
108
-
1. What does mean "Isomorphic React Application"? - [@answer--](https://www.smashingmagazine.com/2015/04/react-to-the-future-with-isomorphic-apps/)
112
+
1. What does mean "Isomorphic React Application"? - [@answer--smashingmagazine](https://www.smashingmagazine.com/2015/04/react-to-the-future-with-isomorphic-apps/)
109
113
110
114
## Funny Questions
111
115
1. Do you like parties?
112
-
2. Do you know that we have a dress code? (asked as a joke)
116
+
2. Do you know that we have a dress code?
113
117
118
+
### Contributing
119
+
Contributions, questions and comments, pull requests are all welcome.
120
+
**Note**: if you want to change a structure, please open an issue and we will discuss it, but if you have interesting questions or answers, please make pull request.
114
121
115
122
#### Answers classification
116
-
@answer-[tag]--[source tag] - General Theoretical Answer
117
-
@library-[tag]--[source tag] - More Complex Answer
118
-
@code-[tag]--[source tag] - Code Example
119
-
@practice-[tag]--[source tag] - Good Practices
120
-
@video-[tag]--[source tag] - Video Materials
123
+
**@answer-[tag]--[source tag]** - General Theoretical Answer.
124
+
**@doc-[tag]--[source tag]** - Documentation
125
+
**@library-[tag]--[source tag]** - More Complex Answer
126
+
**@code-[tag]** - Code Example from jsfiddle || codepen || jsbin
127
+
**@practice-[tag]--[source tag]** - Good Practices
0 commit comments