긴자손 avatar

프론트엔드 면접 문제 은행

ginzason

Published: 17 Apr 2018 › Updated: 17 Apr 2018프론트엔드 면접 문제 은행

프론트엔드 면접 문제 은행

               .           . ,          .

:      /수정/               .


 
HTML  
CSS  
JS  
  
  
  

 
 

 :
/   ?
          ?
        ?
       UI, Security, Performance, SEO, Maintainability  .
      .
     ?
        ?
 5  stylesheet .       ?
 (progressive enhancement)  (graceful degradation)    ?
 assets/resources    .
   1     ?
   ?
          .
  .   Tab ,  Sapce .   ?
 Slideshow      .
        ?
   .
Flash of Unstyled Content  .  FOUC     ?
ARIA screenreader  .        .
CSS  JavaScript    .
CORS       ?
HTML  :
doctype   ?
(standards mode) (quirks mode)   ?
XML XHTML   
XHTML     ?
application/xhtml+xml     ?
     ?
      .
data-   ?    ?
HTML5   (open web platform) ,    ?
(Cookies) (sessionStorage) (localStorage)  .
<script>, <script async> <script defer>   .
CSS<link> <head></head>사이에 쓰는 것과 JS를 </body>    ?    ?
Progressive rendering ?
  srcset    ?          .
HTML templating language    ?
CSS  :
class id   .
"reset" CSS ,   .
Floats   .
z-index  .
BFC(Block Formatting Context)  
(Clearing)    ,       .
CSS (CSS Sprites) ,     .
Image Replacement   ,     .
         ?
       ?
    .
         .
 (Grid system)   ?    ?
 (media queries)   ?    layout CSS   ?
SVG  ?
     ?
 CSS   "비법(gotchas)"   ?
CSS (CSS preprocessors) ?
,         .
          ? ( )
CSS Selector    .
pseudo-elements     .
box model      .
* { box-sizing: border-box; }    ?
 display    .
inline inline-block  ?
  (relative, fixed, absolute, static)   ?
CSS 'C' Cascading . Cascading  .  cascading system  ?
CSS framework   ?     ?
 CSS Flexbox  Grid     ?
(Responsive)  (Adaptive)    ?
      ?    ?
  translate()     ?    .
JS  :
event delegation  .
this JavaScript   .
prototype     .
AMD CommonJS ,    ?
     (IIFE)     : function foo(){ }();.
IIFE     ?
null unedefined  undeclared  ?
     ?
(Closure) , /  .
     ? argyle (IIFEs   )
(anonymous functions)    ?
   ? ( ,  )
 (Host Objects)  (Native Objects)  ?
   ?
function Person(){} var person = Person() var person = new Person()
.call .apply  ?
Function.prototype.bind .
document.write()  ?
UA    (feature detection)  (feature inference)  .
AJAX     .
AJAX     .
JSON    . ( AJAX   .)
 JavaScript 릿   ?  ,    .
"호이스팅(Hoisting)"  .
 (Event Bubbling)  .
"속성(Attribute)" "요소(property)"  ?
 JavaScript       ?
docuemnt load event DOMContentLoaded event  ?
== ===  ?
JavaScript "동일출처정책(the same-origin policy)"  .
   .
duplicate([1,2,3,4,5]); // [1,2,3,4,5,1,2,3,4,5]
(Ternary statement)   ,      ?
use strict; ,     .
100   . 3   fizz, 5   buzz, 3 5   fizzbuzz   .
 scope     .
 load event    .      .
SPA SEO      .
Promise    ?
Promise   /  .
JavaScript    .
JavaScript      .
          .
mutable object immutable object  .
JavaScript immutable   .
immutability / ?
  (immutability)    ?
      .
event loop ?
call stack task queue  .
function foo() {} var foo = function() {} foo    .
let, var, const   .
  :
test code       .
test code     ?
    ?
code style linting tool   ?
  :
      ?
 scrolling       .
 layout, painting, compositing  .
 :
,  assets      ?
URL          .
Long-Polling Websocket, Server-Sent Event  .
 request header  .
Diff. between Expires, Date, Age and If-Modified-...
Do Not Track
Cache-Control
Transfer-Encoding
ETag
X-Frame-Options
HTTP HTTPS  .
HTTP Method  .
 :
: foo  ?

var foo = 10 + '20';
:    ?

console.log(0.1 + 0.2 == 0.3);
:       ?

add(2, 5); // 7
add(2)(5); // 7
:    ?

"i'm a lasagna hog".split("").reverse().join("");
Question: What is the value of window.foo? : window.foo  ?

( window.foo || ( window.foo = "bar" ) );
:   alert  ?

var foo = "Hello";
(function() {
  var bar = " World";
  alert(foo + bar);
})();
alert(foo + bar);
: foo.length  ?

var foo = [];
foo.push(1);
foo.push(2);
: foo.x  ?

var foo = {n: 1};
var bar = foo;
foo.x = foo = {n: 2};
:    ?

console.log('one');
setTimeout(function() {
  console.log('two');
}, 0);
console.log('three');
   :
    ?
      ?
       ?
    ?    ?
IE    ?
  ?
 :
  2009     . @paul_irish @bentruyman @cowboy @ajpiano @SlexAxton @boazsender @miketaylr @vladikoff @gf3 @jon_neal @sambreed @iansym

 100    . ```

Leave 프론트엔드 면접 문제 은행 to:

Written by

즐기자!

Read more #frontend posts


Best Posts From 긴자손

We have not curated any of ginzason's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From 긴자손