Frontend internals, written down

Master frontend
development skills.

Challenges you actually build, JavaScript internals implemented from scratch, and long-form notes on how the browser really works.

call-polyfill.js
// Function.prototype.call, by hand
Function.prototype.myCall = function (ctx, ...args) {
if (typeof this !== 'function') {
throw new TypeError('not callable')
}
 
const key = Symbol('fn')
const owner = ctx ?? globalThis
 
owner[key] = this
const result = owner[key](...args)
delete owner[key]
 
return result
}
Read the walkthrough
35
coding challenges
14
in-depth articles
90k+
words written
1
author, no filler
02Challenges

Featured challenges

A good place to start if you are new here

View all challenges
JavaScript

Function.prototype.call Polyfill

Implement a Function.prototype.call polyfill from scratch. Master JavaScript this binding, execution context, primitive boxing, and safe property assignment techniques.

JavaScript · Functions · this

Pratik Rai ·

JavaScript

EventEmitter Polyfill

Implement a pub/sub EventEmitter class with on, off, emit, and once — the pattern behind Node's events module.

JavaScript · Design Patterns · Events

Pratik Rai ·

React

Image Carousel

Create an interactive image carousel in React with smooth slide transitions, navigation arrows, dot indicators, autoplay, and touch/swipe support for mobile devices.

React · JavaScript

Pratik Rai ·

React

Dynamic Tic Tac Toe

Build a dynamic Tic Tac Toe game in React with customizable grid sizes, win detection algorithms, player turn management, and game reset functionality. Great for interviews.

React · JavaScript

Pratik Rai ·

03About

What this site is

Frontend Dummies is a single-author site about the layer underneath the frameworks. Most material stops at the API surface — it tells you what Array.prototype.map does, but not what happens when you implement it yourself, or why the browser stalls when you get the critical rendering path wrong.

Everything here is organised around closing that gap. The challenges are components and utilities you build from scratch, each with a written explanation, the edge cases naive implementations miss, and a runnable demo. The articles are long-form notes on how the browser actually works — the rendering pipeline, the event loop, web security, performance.

It is written for developers preparing for interviews, and for anyone who has shipped React for a couple of years and wants to understand what is happening beneath it.

Written and maintained by Pratik Rai, a frontend engineer based in Gurgaon, India.

Start with something small

Pick a polyfill and implement it from scratch. It takes twenty minutes, and it is the fastest way to find out whether you understand this, closures and the event loop — or merely recognise them.