CodPen.ir
BlogGuidePublic projectsPricing
Open editor
BlogGuidePublic projectsPricing
CodPen.ir/Blog/Getting started
Back to blog
Getting started#CodPen#Online editor

Getting started with the CodPen online editor

From choosing a template to creating files, using live preview, and saving your first project—a practical path into CodPen.

By CodPen.irPublished August 1, 20261 min read
Getting started with the CodPen online editor

Choose the right mode

CodPen includes ready-to-run environments for Vanilla, React, Next.js, and Angular. Start with Vanilla for HTML, CSS, and JavaScript, or React for component-driven interfaces.

The build-and-feedback loop

  • Create files and folders from the file explorer.
  • Write code in Monaco and watch the output update.
  • Inspect errors and logs in the console.
  • Sign in to save the project and publish it when ready.

A minimal starting point

<main class="app">
  <h1>Hello CodPen</h1>
  <p>Edit, preview, improve.</p>
</main>

Your first goal is not a complete project. Make one small change and learn the path from editing to preview.

On this page

Choose the right modeThe build-and-feedback loop

Related articles

Build your first React project from scratch
React1 min read

Build your first React project from scratch

Build a small but realistic interface with components, props, and state while learning a clean React project structure.

Read article
JavaScript or TypeScript: which should you choose?
Programming languages1 min read

JavaScript or TypeScript: which should you choose?

Compare the practical tradeoffs in startup speed, maintenance, developer experience, and team size.

Read article
Essential Next.js and App Router capabilities
Next.js1 min read

Essential Next.js and App Router capabilities

Understand Server and Client Components, routing, metadata, and loading UI through one practical mental model.

Read article
CodPen.ir

A browser workspace for learning, building, reviewing, and sharing front-end projects.

© 2026 CodPen.ir · All rights reserved.