FREE JAVASCRIPT RESOURCES

Pick your next
aha moment.

A short quiz, a visual comparison, or a ready-to-use lesson. Find the right way to practice reading JavaScript—or help someone else get started.

Everything here is free. No signup needed. Predictions come before explanations.

FOR LEARNERS

Read. Predict. Take a peek.

Choose a topic and format. Quizzes and visualizers keep selections in page memory; reload to start fresh.

3 step-through predictions

Promise vs setTimeout visualizer

Async · microtasks · timers

Predict the log order, then step through synchronous execution, queued Promise callbacks and timer tasks. See what runs now and what is only scheduled.

Trace the event loop →

3 output predictions

Array methods quiz

Arrays · mutation · references

Read three snippets about slice versus splice, map and mutation, and shared array references. Choose an output, then check the step-by-step explanation.

Try the array quiz →

3 output predictions

Type-coercion quiz

Strings · numbers · equality

Trace string concatenation, numeric coercion, and loose versus strict equality. Predict each output before revealing the exact steps.

Try the type-coercion quiz →

7 interactive examples

Slice vs splice visualizer

Arrays · return values · mutation

Predict the return value and the original array, then reveal indexed before-and-after views. Compare the two methods with fixed, tested examples.

Open the visualizer →

15 FREE STARTER PUZZLES

One snippet. Your prediction.

Choose a JavaScript concept below and go straight to the code. Check your prediction to reveal the explanation. Guest progress stays in this browser; an optional private account saves practice across devices.

FOR EDUCATORS

Bring a little aha to class.

Share the interactive quiz, print a learner sheet, or copy an iframe into your lesson. Learner handouts have no answers; teacher keys are separate public pages.

Print or save as PDF on A4 or Letter, portrait. Embeds need a platform that allows iframes from codepeek.brainer.one. No learner accounts required. Privacy & data.