How to become a codepen ninja.
Revisiting one of my favorite web tools in 2025. Codepen 2.0!
Since Pens can now have more than one page, use the address bar to can navigate directly to different files and see which page you're viewing. We automatically update the URL when you click links in the Pen, and you can jump back and forward in history using the arrows.
The ... menu has options for opening the Console and controlling other Preview options.
How does your code get from the Editors to the Preview? With our lightning-fast CodePen Compiler, powered by Blocks!
Blocks are fully contained code processors, like TypeScript, Sass, Markdown, and others. Mix-and-match as many Blocks as you like! Our super-smart Compiler makes sure everything works together.
Blocks can be added manually or the Compiler will automatically add Blocks based on files to get everything ready for lightning-fast preview. Files like (.ts, .sass, and .md) are processed by the applicable Blocks then show up in the Preview.
The Build Status shows the the real-time build process. Any warnings or errors along the way are shown here or in the footer. Clicking them will take you into the file that's reporting a problem.
The cardinal sin in Codepen is to start modifying something you worked hard on building. When it breaks you'll have to work to get it back. There is no undo button in Codepen! Is there? Trust me when I tell you with iterations, you always want to have the option to revert back to your original! Before you begin playing with an existing, pen, fork it!
https://codepen.io/pen?template=CODEPENID

And here's a template I created for you:
Chris pointed me to this page after I asked him about the old school Codepen Bookmarket that is no longer available:
POST to Prefill Editors - CodePen Blog
How do you link directly to a JS file in Codepen?
This feature was removed as shown in the screenshot (kept for historical purposes), but you can still achieve the result by adding a .html, .css, or .js at the end of your URL. Examples:
https://codepen.io/pubwriter/pen/bcac593defada781a1e34fd84499bc45.html
https://codepen.io/pubwriter/pen/bcac593defada781a1e34fd84499bc45.css
https://codepen.io/pubwriter/pen/bcac593defada781a1e34fd84499bc45.js

The best way to to learn a new tool is to watch someone use it!
Here are some users on CodePen you can shadow while they work in Codepen:
Description of project:
Rather than use a bloated CMS like wordpress/drupal/joomal etc, use a Google Sheet!
The result is a fast, responsive static site that you edit in Google Sheets!
Example:
Any URL's added here will be added as
More Reading...
CSS, AnimationSVG, CSS, AnimationCSS, SVG, AnimationSVG, CSS, Animation, GSAPCanvas, Particles, GenerativeWebGL, GLSL, Animation, GenerativeShaders, GLSL, Three.js, ParticlesCSS, Game, AnimationSVG, CSS, AnimationAnimation, Canvas, Sass, JavascriptCanvas, Generative, Creative Code, GSAPSVG, Three.js, Animation, JavascriptCanvas, Animation, CSS, JavascriptCSSAnimation, SVG, GSAP, GreenSock, Canvas, JavascriptCSSCSS, Animation, GSAP, SVGCSS, AnimationSVG, CSS, Animation, JavascriptSVG, Animation, GSAPSVG, Animation, Shader, WebGL, GLSL, JavascriptSVG, Animation, GSAP, CSSAnimation, SVG, JavascriptSVG, Canvas, Animation, Three.jsAnimation, CSS, WAAPICanvas, SVG, ParticlesThree.js, 3D, WebGLP5.js, Animation, Canvas, JavascriptAnimation, Canvas, GameAnimation, CSSAnimation, GSAP, SVG, Canvas, JavascriptCanvas, Javascript, Creative Code, GenerativeWebGL, Three.js, Animation, GSAPCanvas, P5.jsSVG, CSS, Animation, JavascriptAnimation, Three.js, WebGL, CanvasSASS, Animation, Javascript, Games, ComponentsSVG, GreenSock, GSAP, AnimationAnimation, CSS, SVG, JavascriptAnimation, SVG, Three.jsCanvas, Animation, SVG, CSS, JavascriptCanvas, 3D, Physics, AnimationCSS, Animation, Sass, Canvas, Javascript, ParticlesCanvas, Javascript, Particles, 3D, CreateJSGSAP, SVG, Animation, GreenSock, JavascriptJavascript, Web Audio, Animation, Game, CSSSVG, Animation, Canvas, GSAPCSS, AnimationAnimation, CSS, SVG, Three.jsSVG, Animation, GreenSock, GSAPCanvas, Animation, CSS, Particles, Javascript3D, Three.js, Particles, Animation, CreativeCodeCSS, Web AudioCSS, Game, AnimationCSS, Javascript, AnimationCanvas, Animation, P5js, Particles, Processing, GenerativeAnimation, CSS, GreenSock, SVGP5.js, Fractal, Canvas, Animation, WebAudioAnimation, SVG, SassAnimation, GSAP, SVG, CSSAnimation, CSSAnimation, CSSAnimation, SVG, CSS, 3D, JavascriptAnimation, Canvas, Particles, Physics, Javascript, WebGLAnimation, Canvas, Particles, JavascriptAnimation, WebGL, Three.js, 3D, Particles, GSAPAnimation, Canvas, WebGL, Three.js, Particle, ShaderWebGL, Three.js, SVGAnimation, CSS, JavascriptAnimation, Javascript, SVG, CanvasAnimation, Canvas, PhysicsGLSL, Shaders, Javascript, Generative, CreativeCode, AnimationAnimation, SVG, GSAP, CSSCanvas, Three.js, Particles, Shader, GSAP, AnimationCSS, Animation, SVGCSS, Effects, AnimationAnimation, Particles, GreenSockAnimation, SVG, Canvas, Physics, P5.js, GSAPCanvas, CSS, SVGCSS, Animation, Creative CodeCSS, SVG, AnimationAnimation, SVG, CSSCSS, Animation, CSSSVG, Animation, CSS, GSAPAnimation, Canvas, CSS, SVGAnimation, Canvas, Three.js, JavascriptAnimation, CSS, JavascriptAnimation, WebGL, GLSL, Canvas, Shader, Three.jsAnimation, SVG, GSAP, CSS, GreenSockCSS, Animation, GreenSock, SVG, GSAP, CanvasCSS, AnimationCSS, AnimationAnimation, CSS, SVG, WAAPIAnimation, Canvas, SVG, Particles, WebGLAnimation, Canvas, CSS, JavascriptAnimation, Canvas, CSS, Javascript, GSAPGenerative, Canvas, Animation, JavascriptCSS, SVG, AnimationSVG, CSS, AnimationAnimation, SVG, Javascript, GreenSock, GSAP, CanvasCSS, AnimationCreate.JS, Easel.JS, Canvas, Animation, JavascriptAnimation, Canvas, 3D, Particles, JavascriptAnimation, CSS, SVG, Javascript, Canvas, Three.jsCanvas, Animation, WebGL, ShaderAnimation, CSS, SVG, WebGLCanvas, Three.js, WebGL, ShaderP5.js, Canvas, ParticlesCSS, AnimaitonAnimation, Canvas, CSS, ParticlesCanvas, Animation, Interactive, Generative, JSCanvas, Particles, 3D, WebGL, ShaderCanvas, Particles, Three.js, AnimationAnimation, Canvas, Particles, SVG, CSSAnimation, CSS, SVG, P5.js, GreenSockAnimation, CSS, SVG, P5.js, GreenSock, GSAP3D, Three.js, Shader, AnimationAnimation, CSS, SVGSVG, CSS, Animation, GreenSock, JavascriptAnimation, CSS, SVG, Canvas, P5.jsAnimation, CSSAnimation, CSS, SVGAnimation, CSS, Javascript