1
0 Comments

Made a Html5 only "Code Play" Feature

Hello Lovely IndieHackers,

For our product landing page I've built the linked HTML5 "code play" component:

https://codepen.io/cg_bloc/pen/MWRPEwb

We wanted to demonstrate how effortlessly our product can be integrated into any webpage with just a few simple lines of code. We chose not to create and reference a video because:

  • it isn't desktop/mobile/tablet/... responsive
  • adds a significant data payload and delay to the page
  • would consume a lot of our time with each new iteration until it reached a final presentable state.
  • adds bandwidth cost to our provider line

Instead, I created a straightforward "code play" component that is easy to adapt, extend, and style. It can be seamlessly matched to any site's responsiveness.

I'm wondering if the IndieHacker community would be interested in a generator to create such visuals on the fly, complete with copy-paste code. If there's enough interest, I would create a basic github pages app and release all the source code as open source, so anyone can contribute.

Cheers!

on April 18, 2024
Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 41 comments Why Early-Stage Founders Should Consider Skipping Prior Art Searches for Their Patent Applications User Avatar 22 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 20 comments Codenhack Beta — Full Access + Referral User Avatar 20 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 18 comments Day 6 - Slow days as a solo founder User Avatar 13 comments