Skip to content
← All articles
Article

CodePen demos (collection)

Listen to the audio story

A public lab notebook, nine pens deep · 1:43 · AI-written script, synthetic voices

Transcript

Ava: Before this blog existed, where did Antoine try out his front-end ideas? On CodePen, where a pen previews instantly and anyone can fork it.

Andrew: So it's like a public sketchbook for code.

Ava: That's how he describes it. This page collects nine pens from around 2016 and 2017, the jQuery and plain JavaScript years, each shown as a live embed you can play with.

Andrew: What kind of things are in there?

Ava: Small UI experiments first. A sign-up form, a fake terminal where what you type shows up in the prompt, and a sticky header with jump links. Then widgets: a four-step progress bar, a date range picker with departure and return fields, and a countdown timer that plays a sound at zero.

Andrew: A countdown that beeps, nice. Anything more ambitious?

Ava: One uses the screen capture feature built into the browser. You start a capture, see a live preview with a red recording border, and a log panel shows the track settings.

Andrew: I like that it shows what's happening underneath.

Ava: Then two bigger demos. The first is a full-screen blackboard on an HTML5 canvas. You pick pen color and size, drag in images, save a P N G, or wipe everything.

Andrew: And the second?

Ava: A Three dot J S wave. A grid of green cubes moves in a sine wave, and you control the camera with mouse, keyboard, scroll zoom or even a gamepad.

Andrew: That one's mesmerizing. Why keep them all?

Ava: CodePen taught Antoine to get feedback in under 400 lines. The blackboard and the wave are the ones he reopens when someone asks whether he can prototype a UI fast.

Andrew: The full page has every embed to try live.

CodePen demos collection — editor panes and a Three.js-style wave grid (featured art for this post)
Table of contents

CodePen was my public lab notebook before this Hugo blog existed — instant preview, comments, and forks without deploying. These are live CodePen embeds I kept from the jQuery-and-vanilla-JS years (~2016–2017): small UI labs, then two bigger demos (Canvas and Three.js). Each card uses the pen title from CodePen so you know what you are opening—not just the slug in the URL. Fork anything directly on CodePen if you want to adapt it.

1. UI and form experiments

Sign-up form (Log in Page Style)

Bootstrap-style signup layout: email, password, checkboxes, radio group, select, and textarea—mostly HTML/CSS practice.

Open on CodePen

Terminal-style console (Simple Console style)

Three faux terminal rows with a blinking cursor; keystrokes from one input mirror into the prompt text.

Open on CodePen

Sticky header with jump links

Long placeholder page, black nav bar that sticks after the hero image, and anchor links that scroll to sections.

Open on CodePen

2. jQuery-era widgets

Step progress bar

Four-step horizontal indicator with numbered nodes; jQuery marks completed steps and shortens the first label on narrow viewports (PASSENGER vs PASSENGER DETAILS).

Open on CodePen

Date range picker (double input)

Custom element daterangepicker-two-input wrapping Moment.js and the Date Range Picker plugin—departure/return fields and night count.

Open on CodePen

Countdown timer (Bootstrap)

Enter minutes, start with Enter, live min/sec display, reset button, and a short audio clip when the timer hits zero.

Open on CodePen

3. Browser APIs

Screen capture (ScreenShare)

getDisplayMedia demo: start/stop capture, live video preview, red recording border, and a log panel for track settings and errors.

Open on CodePen

4. Larger demos

HTML5 Canvas blackboard (Blackboard Interactive)

Full-screen drawing surface: pen color and size, drag imported images, save PNG, erase all paths and images.

Open on CodePen

Three.js wave (3D Animation)

Grid of green cubes animated with a sine-based wave; mouse drag, keyboard, scroll zoom, and optional gamepad camera nudges.

Open on CodePen
PenCodePen
Sign-up formBMdzwx[1]
Terminal consoleJxrqQx[2]
Sticky header + anchorsZEENwWB[3]
Step progress barbyVQKJ[4]
Date range pickerjjzxER[5]
Countdown timerxMXNyy[6]
Screen captureqzQpYg[7]
Canvas blackboardMLEdxr[8]
Three.js waverNoqVOj[9]

CodePen was where I learned feedback loops under 400 lines — before this Hugo blog existed. The blackboard and Three.js pens are the ones I reopen when someone asks “can you prototype UI fast?” Everything else is historical context for how form-heavy web felt before component frameworks ate the world.

Older long-form write-ups for some of these ideas were merged here; the aliases in the site config still point to this page.

References

  1. BMdzwx. (). [Web page] codepen.io.
  2. JxrqQx. (). [Web page] codepen.io.
  3. ZEENwWB. (). [Web page] codepen.io.
  4. byVQKJ. (). [Web page] codepen.io.
  5. jjzxER. (). [Web page] codepen.io.
  6. xMXNyy. (). [Web page] codepen.io.
  7. qzQpYg. (). [Web page] codepen.io.
  8. MLEdxr. (). [Web page] codepen.io.
  9. rNoqVOj. (). [Web page] codepen.io.

References use this article’s publication date.