30-seconds-of-interviews
by Chalarangelo
awesome listarchivedJavaScriptpushed almost 4 years ago
A curated collection of common interview questions to help you prepare for your next interview.
- stars
- 12K
- forks
- 963
- watching
- 214
- awesome lists
- 2
- entries
- 143
What's in the list
143 links in 110 sections, with live GitHub stats.activeno commit in 2y
Contributing
JavaScript / What is a stateless component?
JavaScript / What is the difference between the equality operators == and ===?
JavaScript / What is the difference between an element and a component in React?
JavaScript / What is a stateful component in React?
JavaScript / In which states can a Promise be?
JavaScript / What does the following code evaluate to?
JavaScript / How do you clone an object in JavaScript?
JavaScript / How do you compare two objects in JavaScript?
JavaScript / What is a cross-site scripting attack (XSS) and how do you prevent it?
JavaScript / What is CORS?
JavaScript / What is the DOM?
JavaScript / What are the differences between var, let, const and no keyword statements?
JavaScript / What is event delegation and why is it useful? Can you show an example of how to use it?
JavaScript / What is the purpose of callback function as an argument of setState?
JavaScript / What is the difference between an expression and a statement in JavaScript?
JavaScript / What are truthy and falsy values in JavaScript?
JavaScript / Generate an array, containing the Fibonacci sequence, up until the nth term.
JavaScript / What does 0.1 + 0.2 === 0.3 evaluate to?
JavaScript / What is the difference between the array methods map() and forEach()?
JavaScript / What is short-circuit evaluation in JavaScript?
JavaScript / What will the console log in this example?
JavaScript / How does hoisting work in JavaScript?
JavaScript / What is the difference between HTML and React event handling?
JavaScript / What is the reason for wrapping the entire contents of a JavaScript source file in a function that is immediately invoked?
JavaScript / What does the following function return?
JavaScript / What are inline conditional expressions?
JavaScript / What is a key? What are the benefits of using it in lists?
JavaScript / What is the difference between lexical scoping and dynamic scoping?
JavaScript / What is the output of the following code?
JavaScript / How does prototypal inheritance differ from classical inheritance?
JavaScript / What is a MIME type and what is it used for?
JavaScript / What are Promises?
JavaScript / What are JavaScript data types?
JavaScript / NodeJS often uses a callback pattern where if an error is encountered during execution, this error is passed as the first argument to the callback. What are the advantages of this pattern?
JavaScript / What is a callback? Can you show an example using one?
JavaScript / What is the difference between null and undefined?
JavaScript / Does JavaScript pass by value or by reference?
JavaScript / How do you pass an argument to an event handler or callback?
JavaScript / What are fragments?
JavaScript / Create a function pipe that performs left-to-right function composition by returning a function that accepts one argument.
JavaScript / What is the event loop in Node.js?
JavaScript / What is the only value not equal to itself in JavaScript?
JavaScript / Contrast mutable and immutable values, and mutating vs non-mutating methods.
JavaScript / What is Big O Notation?
JavaScript / What is a pure function?
JavaScript / What is recursion and when is it useful?
JavaScript / What is memoization?
JavaScript / What are refs in React? When should they be used?
JavaScript / Explain the differences between imperative and declarative programming.
JavaScript / What is functional programming?
JavaScript / What are portals in React?
JavaScript / What is event-driven programming?
JavaScript / What is context?
JavaScript / Explain the difference between a static method and an instance method.
JavaScript / What is a closure? Can you give a useful example of one?
JavaScript / What is the this keyword and how does it work?
JavaScript / What is the children prop?
JavaScript / Which is the preferred option between callback refs and findDOMNode()?
JavaScript / What is the purpose of JavaScript UI libraries/frameworks like React, Vue, Angular, Hyperapp, etc?
JavaScript / What does 'use strict' do and what are some of the key benefits to using it?
JavaScript / How can you avoid callback hells?
JavaScript / What is a virtual DOM and why is it used in libraries/frameworks?
JavaScript / How do you ensure methods have the correct this context in React component classes?
React / What is a stateless component?
React / What is a stateful component in React?
React / What is the difference between an element and a component in React?
React / How do you pass an argument to an event handler or callback?
React / What is the purpose of callback function as an argument of setState?
React / What is the difference between HTML and React event handling?
React / What are inline conditional expressions?
React / What is a key? What are the benefits of using it in lists?
React / Which is the preferred option between callback refs and findDOMNode()?
React / What are fragments?
React / How do you ensure methods have the correct this context in React component classes?
React / What are error boundaries in React?
React / What is context?
React / What are refs in React? When should they be used?
React / What is the children prop?
React / What are portals in React?
HTML / What is the purpose of the alt attribute on images?
HTML / What is the purpose of cache busting and how can you achieve it?
HTML / Can a web page contain multiple <header> elements? What about <footer> elements?
HTML / Briefly describe the correct usage of the following HTML5 semantic elements: <header>, <article>,<section>, <footer>
HTML / Where and why is the rel="noopener" attribute used?
HTML / What are defer and async attributes on a <script> tag?
HTML / What is the difference between HTML and React event handling?
HTML / What are some differences that XHTML has compared to HTML?
HTML / What is the DOM?
HTML / Discuss the differences between an HTML specification and a browser’s implementation thereof.
HTML / What is HTML5 Web Storage? Explain localStorage and sessionStorage.
CSS / What is CSS BEM?
CSS / What are the advantages of using CSS preprocessors?
CSS / Using flexbox, create a 3-column layout where each column takes up a col-{n} / 12 ratio of the container.
CSS / Can you name the four types of @media properties?
CSS / Describe the layout of the CSS Box Model and briefly describe each component.
CSS / What is the difference between em and rem units?
CSS / What are the advantages of using CSS sprites and how are they utilized?
CSS / What is the difference between '+' and '~' sibling selectors?.
CSS / Can you describe how CSS specificity works?
CSS / What is a focus ring? What is the correct solution to handle them?
Accessibility / What is WCAG? What are the differences between A, AA, and AAA compliance?
Accessibility / What is ARIA and when should you use it?
Accessibility / What is the Accessibility Tree?
Accessibility / What are landmark roles and how can they be useful?
Node / NodeJS often uses a callback pattern where if an error is encountered during execution, this error is passed as the first argument to the callback. What are the advantages of this pattern?
Node / What is REST?
Node / How can you avoid callback hells?
Node / What is the event loop in Node.js?
Security / What is a cross-site scripting attack (XSS) and how do you prevent it?
Nothing in this list matches your filter.
Featured in 2 awesome lists
Each link jumps to the spot where the list mentions 30-seconds-of-interviews.