Skip to content
52

30 Seconds Of Interviews

A curated collection of common interview questions to help you prepare for your next interview.

12k stars963 forks105 entriesLast push Dec 9, 2022 (3 years ago)License MIT

This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.

View answer

React docs on State and Lifecycle

View answer

MDN docs for comparison operators

View answer

React docs on Rendering Elements

React docs on Components and Props

View answer

React docs on State and Lifecycle

View answer

Official Web Docs Promise

View answer

MDN docs for typeof

View answer

MDN docs for Object.assign()

Clone an object in vanilla JS

Link may be dead

View answer

Object Equality in JavaScript

Link may be dead

Deep comparison between two values

Link may be dead

View answer

Cross-Site Scripting Attack (XSS)

View answer

An example of a cross-origin request is a web application served from

that uses AJAX to make a request for http://yourdomain.com.

Link may be dead

MDN docs for CORS

In 2 lists

View answer

MDN docs for DOM

View answer

let vs const

View answer

Event Delegation

View answer

React docs on setState

View answer

What is the difference between a statement and an expression?

Link may be dead

View answer

Truthy on MDN

Falsy on MDN

View answer

Similar problem

Useful ES6 snippets that you can understand in 30 seconds or less.

In 5 listsDetails

View answer

Similar problem

Useful ES6 snippets that you can understand in 30 seconds or less.

In 5 listsDetails

Fix "0.1 + 0.2 = 0.300000004" in JavaScript

View answer

MDN docs for forEach

MDN docs for map

JavaScript — Map vs. ForEach

Link may be dead

View answer

JavaScript: What is short-circuit evaluation?

Link may be dead

View answer

MDN docs for hoisting

View answer

MDN docs for hoisting

Understanding Hoisting in JavaScript

Detailed explanation of the concept of hoisting in JavaScript.

In 2 lists

View answer

React docs on Handling Events

View answer

MDN docs for closures

View answer

Automatic semicolon insertion in JavaScript

Link may be dead

View answer

React docs on Conditional Rendering

View answer

React docs on Lists and Keys

View answer

MDN docs for closures

View answer

JavaScript Value vs Reference

Link may be dead

View answer

MDN docs for inheritance and the prototype chain

View answer

MIME Type MDN

View answer

Master the JavaScript Interview: What is a Promise?

Link may be dead

View answer

MDN docs for data types and data structures

Understanding Data Types in JavaScript

View answer

The Node.js Way Understanding Error-First Callbacks

What are the error conventions?

Link may be dead

View answer

MDN docs for callbacks

View answer

MDN docs for null

MDN docs for undefined

View answer

JavaScript Value vs Reference

Link may be dead

View answer

React docs on Handling Events

View answer

React docs on Fragments

View answer

What is function composition?

Link may be dead

View answer

Node.js docs on event loop, timers and process.nextTick()

Link may be dead

View answer

MDN docs for NaN

View answer

Mutating vs non-mutating array methods

View answer

Big O Notation in JavaScript

Link may be dead

View answer

Pure functions in JavaScript

View answer

In plain English, what is recursion?

Link may be dead

View answer

Implementing memoization in JavaScript

View answer

React docs on Refs and the DOM

View answer

Declarative vs Imperative Programming

Link may be dead

View answer

Javascript and Functional Programming: An Introduction

Master the JavaScript Interview: What is Functional Programming?

A simple introduction by @ericelliott to functional principles and vocabulary.

In 2 listsLink may be dead

View answer

React docs on Portals

View answer

MDN docs on Events and Handlers

Understanding Node.js event-driven architecture

View answer

React docs on Context

View answer

Classes on MDN

View answer

MDN docs for closures

What is a closure

Link may be dead

I never understood JavaScript closures

Link may be dead

View answer

this on MDN

View answer

React docs on Children

View answer

React docs on Refs and the DOM

View answer

Virtual DOM in Hyperapp

1kB-ish JavaScript framework for building hypertext applications

In 3 lists

View answer

MDN docs for strict mode

View answer

Avoiding Callback Hell in Node.js

Asynchronous JavaScript: From Callback Hell to Async and Await

View answer

The difference between Virtual DOM and DOM

View answer

React docs on Handling Events

React docs on Passing Functions to Components

View answer

React docs on State and Lifecycle

View answer

React docs on State and Lifecycle

View answer

React docs on Rendering Elements

React docs on Components and Props

View answer

React docs on Handling Events

View answer

React docs on setState

View answer

React docs on Handling Events

View answer

React docs on Conditional Rendering

View answer

React docs on Lists and Keys

View answer

React docs on Refs and the DOM

View answer

React docs on Fragments

View answer

React docs on Handling Events

React docs on Passing Functions to Components

View answer

https://reactjs.org/docs/error-boundaries.html

View answer

React docs on Context

View answer

React docs on Refs and the DOM

View answer

React docs on Children

View answer

React docs on Portals

View answer

A good basis for accessibility

View answer

Strategies for cache-busting CSS

View answer

StackOverflow Using header or footer tag twice

Link may be dead

View answer

HTML 5 Semantic Elements

In 2 lists

View answer

Open external anchors using rel="noopener"

About rel="noopener"

View answer

async vs defer attributes

View answer

React docs on Handling Events

View answer

W3Schools docs for HTML and XHTML

View answer

MDN docs for DOM

View answer

HTML 5.2 WWW Specifications

View answer

W3Schools HTML5 Webstorage

View answer

Writing clean and maintainable CSS

View answer

CSS Preprocessors

Link may be dead

View answer

MDN docs for basic concepts of flexbox

A complete guide to Flexbox

All you need to know about Flexbox on one page.

In 4 lists

View answer

MDN docs for @media rule

MDN docs for using media queries

View answer

W3School's CSS Box Model Page

Mozilla's Intro to the CSS Box Model

View answer

CSS units for font-size: px | em | rem

Link may be dead

View answer

CSS Sprites explained by CSS Tricks

View answer

W3School's CSS Combinators Page

Mozilla's Combinators and groups of selectors page

View answer

CSS Specificity

View answer

:focus-visible

View answer

Web Content Accessibility Guidelines (WCAG) Overview

How to Meet WCAG

View answer

WAI-ARIA Overview

WAI-ARIA Spec

Use WAI-Aria tags to help machines understand your code.

In 2 lists

ARIA Serious? Eric Eggert presentation

View answer

Accessibility APIs

View answer

ARIA Landmark Roles

Using ARIA landmarks to identify regions of a page

View answer

The Node.js Way Understanding Error-First Callbacks

What are the error conventions?

Link may be dead

View answer

Avoiding Callback Hell in Node.js

Asynchronous JavaScript: From Callback Hell to Async and Await

View answer

Node.js docs on event loop, timers and process.nextTick()

Link may be dead

View answer

Cross-Site Scripting Attack (XSS)

See category
100

Awesome Python

vinta/awesome-python

The definitive list that answers "I want to do X in Python, which tool should I use?"

Fresh★ 335k562 entriesPushed today
99

Awesome Swift

matteocrippa/awesome-swift

A collaborative list of awesome Swift libraries and resources. Feel free to contribute!

Fresh★ 26k1101 entriesPushed 4 days ago
98

Awesome Mac

jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

Fresh★ 119k1607 entriesPushed today
98

Awesome PHP

ziadoz/awesome-php

A curated list of amazingly awesome PHP libraries, resources and shiny things.

Fresh★ 33k87 entriesPushed 16 days ago
98

Awesome Neovim

rockerBOO/awesome-neovim

Collections of awesome neovim plugins.

Fresh★ 22k1461 entriesPushed today
98

Awesome Go

avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

Fresh★ 194k3181 entriesPushed today