Skip to content
54

30 Seconds Of Interviews

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

12k stars964 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

View answer

Object Equality in JavaScript

Deep comparison between two values

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.

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?

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 4 listsDetails

View answer

Similar problem

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

In 4 listsDetails

Fix "0.1 + 0.2 = 0.300000004" in JavaScript

View answer

MDN docs for forEach

MDN docs for map

JavaScript — Map vs. ForEach

View answer

JavaScript: What is short-circuit evaluation?

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

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

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?

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?

View answer

MDN docs for callbacks

View answer

MDN docs for null

MDN docs for undefined

View answer

JavaScript Value vs Reference

View answer

React docs on Handling Events

View answer

React docs on Fragments

View answer

What is function composition?

View answer

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

View answer

MDN docs for NaN

View answer

Mutating vs non-mutating array methods

View answer

Big O Notation in JavaScript

View answer

Pure functions in JavaScript

View answer

In plain English, what is recursion?

View answer

Implementing memoization in JavaScript

View answer

React docs on Refs and the DOM

View answer

Declarative vs Imperative Programming

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 lists

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

I never understood JavaScript closures

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

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

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

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?

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()

View answer

Cross-Site Scripting Attack (XSS)

See category
94

Awesome Rust

rust-unofficial/awesome-rust

A curated list of Rust code and resources.

Fresh★ 60k1833 entriesPushed today
94

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★ 115k1316 entriesPushed today
94

Awesome Python

vinta/awesome-python

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

Fresh★ 324k504 entriesPushed today
94

Awesome C++

fffaraz/awesome-cpp

A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.

Fresh★ 74k1358 entriesPushed yesterday
94

Awesome Go

avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

Fresh★ 186k3119 entriesPushed yesterday
94

Awesome PHP

ziadoz/awesome-php

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

Fresh★ 33k87 entriesPushed 2 days ago