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

app.js3 lines
document.getElementById("cta").addEventListener("click", () => {
  alert("Hello from your static site!");
});

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.