Skip to content
Framework: Static HTML/CSS/JSDifficulty: beginnerFeatured

Static website

Plain HTML, CSS, and JavaScript with no build step. Ideal for simple sites and learning.

Three files — index.html, styles.css and app.js — served as-is by the Codexa static runtime. There is no bundler, no framework and no install step, which makes it the fastest way to learn how the editor, preview and deployment fit together.

  • html
  • css
  • javascript
  • static

This preview is the template's actual file tree and source code — exactly what is copied into a new project. Codexa does not publish screenshots or mock-ups of templates; run the project to see it rendered.

Files4 files

styles.css10 lines
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; color: #111; line-height: 1.6; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e5e7eb; }
.site-header nav a { margin-left: 16px; color: #374151; text-decoration: none; }
main { max-width: 760px; margin: 0 auto; padding: 24px; }
.hero { padding: 48px 0; }
h1 { font-size: 2.5rem; margin: 0 0 8px; }
button { background: #2563eb; color: #fff; border: 0; padding: 10px 16px; border-radius: 8px; font-size: 1rem; cursor: pointer; }
button:hover { background: #1d4ed8; }
section { padding: 24px 0; border-top: 1px solid #f3f4f6; }

Dependencies

This template has no dependencies and no build step; files are served as-is.

How it runs

Framework
Static HTML/CSS/JS
Dev command
codexa-static
Build command
none (static files)
Output directory
.
Port
5173
Opens at
/
Difficulty
beginner

Projects run in an isolated sandbox with a live preview. Read the projects documentation for details on settings, snapshots and deployment.

View all
  • Framework: Static HTML/CSS/JSDifficulty: beginner

    Multi-page blog

    A plain HTML and CSS blog with a post index, two example posts, and an about page. No build step.

    • html
    • css
    • blog
    • multi-page
    • static

    7 files

Need the raw data? GET /api/v1/templates/static-site returns this template with its files.

Build on Static website

Create a free account, start from this template, and ask the AI agent to turn it into your app.