Developer docs

Learn the loop, then make it yours.

HTML Studio is a native editor first. You can begin with plain web files and move to `.vel` components when you want reusable reactive UI.

Quick start

From empty folder to first preview.

HTML Studio keeps the first project deliberately simple: one HTML file, one stylesheet, and one script.

1. Create a project

Choose New project, select Website, and open `index.html` in the explorer.

2. Edit

Write structure in HTML, design in CSS, and interactions in JavaScript.

3. Run

Press Run or F5. The preview uses your current project files.

See the workspace features →
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="styles.css"> <title>My idea</title> </head> <body> <main class="card"> <h1 id="title">Hello, web!</h1> <p>Change this page and press Run.</p> <button id="hello">Say hello</button> </main> <script src="app.js"></script> </body> </html>

HTML + CSS + JavaScript

Three files, one clear mental model.

Keep responsibilities separate while you are learning. That makes errors easier to find and makes your project portable.

H

HTML is structure

Use semantic elements such as `header`, `nav`, `main`, `section`, `button`, and `footer` to describe the page.

C

CSS is appearance

Use selectors, variables, layout, spacing, responsive rules, and transitions to shape the experience.

JS

JavaScript is behavior

Listen for events, update the DOM, validate input, and save small browser-only data.

Optional component path

Use `.vel` when the UI deserves reuse.

Teloce-Py compiles `.vel` files into browser JavaScript. HTML Studio can edit those files as part of a larger Python project.

<template> <button class="counter" @click="count++"> Clicked {{ count }} times </button> </template> <script> export default { data() { return { count: 0 } }, } </script> <style scoped> .counter { padding: .75rem 1rem; border-radius: .6rem; } </style>

How it connects

During development, Teloce-Py reads the `.vel` source, parses the template and script, generates a JavaScript module, and emits the shared runtime once for the project.

  • Keep source `.vel` files in the project source tree.
  • Serve generated JavaScript from your public static directory.
  • Mount the generated module into an element such as `#app`.
  • Use Flaxon, Flask, FastAPI, or Django for Python APIs.

Libraries and projects

Bring your own ideas and trusted tools.

Plain HTML Studio projects can use pinned CDN libraries such as Three.js. Learn what the library does before adding it, and keep the custom code readable.

<script type="module"> import * as THREE from "https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js"; const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera(60, innerWidth / innerHeight, .1, 100); const renderer = new THREE.WebGLRenderer({ antialias: true }); document.body.append(renderer.domElement); camera.position.z = 4; const cube = new THREE.Mesh( new THREE.BoxGeometry(), new THREE.MeshNormalMaterial(), ); scene.add(cube); function animate() { cube.rotation.x += .01; cube.rotation.y += .01; renderer.setSize(innerWidth, innerHeight); renderer.render(scene, camera); requestAnimationFrame(animate); } animate(); </script>

Need the deeper compiler docs?

HTML Studio teaches the front door. Teloce-Py opens the workshop.

Read the full Teloce-Py compiler, runtime, router, signals, and Flask/FastAPI/Django lessons in the framework repository.