Skip to content

Commit 65deb14

Browse files
committed
Merged conflict
2 parents 08fbbf7 + 9af7ae8 commit 65deb14

File tree

2 files changed

+50
-21
lines changed

2 files changed

+50
-21
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Dmytro Chumak
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

readme.md

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
# Front-End Interview Questions and Answers
1+
![github front end develeper interview questions and answers teaser](https://webman.pro/assets/img/main/webman-front-end-interview-questions-answers-github.jpg)
2+
3+
# Front End Interview Questions and Answers
24
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.
46

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.
68

79
## List of Content
810
1. [Common interview questions](#common-interview-questions)
@@ -13,6 +15,8 @@ Dude or pretty lady, I hope that my experience and experience of other developer
1315
1. [Javascript Coding](#javascript-coding-questions)
1416
1. [React interview questions](#react-interview-questions)
1517
1. [Funny Questions](#funny-questions)
18+
1. [Contributing](#contributing)
19+
1. [Examples for Answers classification](#answers-classification)
1620

1721
## Common interview questions
1822
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
2630
1. What is [REST](http://www.restapitutorial.com/)? - [@library--restcookbook](http://restcookbook.com/)
2731
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)
2832
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)
3034
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/)
3135
1. Progressive enhancement vs graceful degradation. What is the difference? - [@answer--w3](https://www.w3.org/wiki/Graceful_degradation_versus_progressive_enhancement)
3236
1. Do you use [Grunt](https://gruntjs.com/), [Gulp](https://gulpjs.com/), [Webpack](https://webpack.github.io/) or Browserify in your projects?
3337
1. What do you know about "60fps"? What way to achieve this? - [@answer--github](https://github.com/vasanthk/browser-rendering-optimization)
3438
1. What is the difference between layout, painting and compositing? - [@answer--google](https://developers.google.com/web/fundamentals/performance/rendering/?hl=en)
3539

3640
## 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)
3943
1. When and how to preload resources? - [@answer--medium](https://medium.com/reloading/preload-prefetch-and-priorities-in-chrome-776165961bbf)
4044

4145
## CSS Interview Questions
@@ -46,22 +50,22 @@ Dude or pretty lady, I hope that my experience and experience of other developer
4650

4751
## Javascript Interview Questions
4852
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/)
5256
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/),
5559

5660
## 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/)
5862
* 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/)
6064
```js
6165
// Code below must return true
6266
alert(factorial(3) === 6 && factorial(0) === 1);
6367
```
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?
6569
```js
6670
10 .toString();
6771
(10).toString();
@@ -105,16 +109,20 @@ new String('a') instanceof String && 'b' instanceof String;
105109
1. How to create higher order component?
106110
1. Tell about React in the SEO context.
107111
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/)
109113

110114
## Funny Questions
111115
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?
113117

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.
114121

115122
#### 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
128+
**@video-[tag]--[source tag]** - Video Materials

0 commit comments

Comments
 (0)