Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
196 lines (191 loc) · 17.9 KB
/
Copy pathindex.html
File metadata and controls
196 lines (191 loc) · 17.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!doctype html>
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="dark light">
<meta name="description" content="Learn web development with a free online code editor for HTML, CSS, JavaScript, TypeScript and more, plus practical CSS tools and accessible UI components.">
<meta name="keywords" content="online code editor, HTML editor, CSS editor, web development, coding tools, browser IDE">
<meta name="author" content="Zyther Dev">
<link rel="author" href="https://zyther.dev/">
<link rel="me" href="https://github.com/zytherdev">
<link rel="canonical" href="https://tzrender.zyther.dev/">
<meta property="og:type" content="website">
<meta property="og:site_name" content="tzrender">
<meta property="og:title" content="Free Online Code Editor for HTML & CSS | tzrender">
<meta property="og:description" content="Learn web development with a free online code editor for HTML, CSS, JavaScript, TypeScript and more, plus practical CSS tools and accessible UI components.">
<meta property="og:url" content="https://tzrender.zyther.dev/">
<meta property="og:image" content="https://tzrender.zyther.dev/og-image.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="A screenshot of the tzrender browser IDE with a live web-page preview.">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Free Online Code Editor for HTML & CSS | tzrender">
<meta name="twitter:description" content="Learn web development with a free online code editor for HTML, CSS, JavaScript, TypeScript and more, plus practical CSS tools and accessible UI components.">
<meta name="twitter:image" content="https://tzrender.zyther.dev/og-image.jpg">
<meta name="twitter:image:alt" content="A screenshot of the tzrender browser IDE with a live web-page preview.">
<title>Free Online Code Editor for HTML & CSS | tzrender</title>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://tzrender.zyther.dev/#zyther-dev",
"name": "Zyther Dev",
"url": "https://zyther.dev/",
"sameAs": ["https://github.com/zytherdev", "https://zyther.dev/"]
},
{
"@type": "WebSite",
"@id": "https://tzrender.zyther.dev/#website",
"url": "https://tzrender.zyther.dev/",
"name": "tzrender",
"description": "Free browser tools for learning web development and building with HTML, CSS and JavaScript.",
"publisher": {"@id": "https://tzrender.zyther.dev/#zyther-dev"}
},
{
"@type": "WebApplication",
"@id": "https://tzrender.zyther.dev/#studio",
"name": "tzrender Studio",
"url": "https://tzrender.zyther.dev/editor.html",
"description": "A free online code editor and browser IDE for HTML, CSS, JavaScript, TypeScript and browser-based languages.",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Any",
"browserRequirements": "Requires a modern web browser",
"creator": {"@id": "https://tzrender.zyther.dev/#zyther-dev"},
"isPartOf": {"@id": "https://tzrender.zyther.dev/#website"},
"offers": {"@type": "Offer", "price": 0, "priceCurrency": "USD"},
"featureList": ["HTML editor", "CSS editor", "JavaScript editor", "Live preview", "Browser-based coding"]
},
{
"@type": "SoftwareSourceCode",
"@id": "https://github.com/zytherdev/tzrender#source",
"name": "tzrender",
"codeRepository": "https://github.com/zytherdev/tzrender",
"programmingLanguage": ["JavaScript", "HTML", "CSS"],
"license": "https://opensource.org/license/mit/",
"author": {"@id": "https://tzrender.zyther.dev/#zyther-dev"}
}
]
}
</script>
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' rx='14' fill='%238b72ff'/%3E%3Cpath d='m18 16-8 8 8 8m12-16 8 8-8 8M27 12l-6 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E">
<link rel="stylesheet" href="/site/site.css">
<script type="module" src="/site/home.js"></script>
</head>
<body class="site-shell">
<div class="site-noise" aria-hidden="true"></div>
<header class="site-header">
<a class="brand" href="/" aria-label="tzrender home"><span class="brand-mark" aria-hidden="true"></></span><span>tzrender</span></a>
<nav class="main-nav" aria-label="Main navigation">
<a href="/editor.html">Editor</a>
<a href="/tools.html">Tools</a>
<a href="#components">Components</a>
<a href="https://www.npmjs.com/package/@zyther/tzrender" target="_blank" rel="noopener">npm ↗</a>
</nav>
<button class="icon-button theme-toggle" type="button" data-theme-toggle aria-label="Switch to light theme" title="Toggle theme">
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2m0 16v2M4.93 4.93l1.42 1.42m11.3 11.3 1.42 1.42M2 12h2m16 0h2M4.93 19.07l1.42-1.42m11.3-11.3 1.42-1.42"/></svg>
</button>
</header>
<main>
<section class="home-hero wrap">
<div class="hero-copy">
<p class="eyebrow"><span class="status-dot"></span> A practical bench for the open web</p>
<h1>A free online code editor.<br><span>Build for the web.</span></h1>
<p class="hero-lede">A free browser IDE for HTML, CSS, JavaScript, TypeScript, and Python — with practical CSS tools and accessible vanilla JavaScript components.</p>
<div class="hero-actions">
<a class="button button-primary" href="/editor.html">Open the editor <span aria-hidden="true">↗</span></a>
<a class="button button-secondary" href="/tools.html">Explore all tools <span aria-hidden="true">→</span></a>
</div>
<p class="hero-footnote"><span class="keycap">HTML</span><span class="keycap">CSS</span><span class="keycap">JS</span><span>Start in your browser. No account or setup.</span></p>
</div>
<div class="hero-visual" aria-label="A preview of the tzrender coding workbench">
<div class="visual-glow" aria-hidden="true"></div>
<div class="mini-window">
<div class="mini-window-bar"><span class="window-lights" aria-hidden="true"><i></i><i></i><i></i></span><span>your-first-page.html</span><span class="mini-live"><i></i> PREVIEW</span></div>
<div class="mini-window-body">
<div class="mini-code" aria-hidden="true"><div><b>1</b><span class="code-purple"><main</span> class=<span class="code-mint">"card"</span><span class="code-purple">></span></div><div><b>2</b> <span class="code-purple"><h1></span>Hello, web.<span class="code-purple"></h1></span></div><div><b>3</b> <span class="code-purple"><p></span>Your idea starts here.<span class="code-purple"></p></span></div><div><b>4</b> <span class="code-purple"><button></span>Try it<span class="code-purple"></button></span></div><div><b>5</b><span class="code-purple"></main></span></div></div>
<div class="mini-preview"><span class="preview-badge">A FIRST BUILD</span><strong>Hello, web.</strong><p>Your idea starts here.</p><button type="button" tabindex="-1">Try it <span>↗</span></button><div class="preview-orbit" aria-hidden="true"></div></div>
</div>
<div class="mini-window-footer"><span><i class="status-dot"></i> Saved in this browser</span><span>index.html · Ln 2, Col 8</span></div>
</div>
<div class="float-note"><span class="float-note-icon">✓</span><span><strong>Live preview</strong><small>Change code, see the result</small></span></div>
</div>
</section>
<section class="workbench-section wrap" aria-labelledby="workbench-heading">
<div class="section-heading">
<div><p class="eyebrow">PICK UP A TOOL</p><h2 id="workbench-heading">Make something today.</h2></div>
<a class="text-link" href="/tools.html">See the full toolbox <span aria-hidden="true">→</span></a>
</div>
<div class="destination-grid">
<a class="destination-card destination-editor" href="/editor.html">
<div class="destination-icon editor-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="m8 6-6 6 6 6M16 6l6 6-6 6M14 4l-4 16"/></svg></div>
<div class="destination-top"><span class="pill pill-violet">THE EDITOR</span><span class="card-arrow" aria-hidden="true">↗</span></div>
<h3>Build a tiny website</h3><p>Write HTML, CSS and JavaScript with real syntax help, then run it in an isolated preview.</p>
<span class="destination-meta">Monaco editor <i>·</i> Local drafts <i>·</i> Export</span>
</a>
<a class="destination-card destination-tools" href="/tools.html">
<div class="destination-icon tools-icon" aria-hidden="true"><svg viewBox="0 0 24 24"><path d="M4 5h7v6H4zM14 5h6v4h-6zM4 14h6v5H4zM13 12h7v7h-7z"/></svg></div>
<div class="destination-top"><span class="pill pill-mint">THE TOOLBOX</span><span class="card-arrow" aria-hidden="true">↗</span></div>
<h3>Make the details click</h3><p>Explore color contrast, layout, spacing, gradients, shadows, and the CSS box model.</p>
<span class="destination-meta">8 focused tools <i>·</i> Live output <i>·</i> Copy-ready</span>
</a>
</div>
</section>
<section class="components-section" id="components" aria-labelledby="components-heading">
<div class="wrap components-wrap">
<div class="components-intro">
<p class="eyebrow">THE npm PACKAGE</p><h2 id="components-heading">Useful UI.<br><span>No framework required.</span></h2>
<p>tzrender is a small vanilla JavaScript library for common interface patterns. Every example below calls the package API you can install in your own project.</p>
<p class="component-code-note">Copy examples assume you imported <code>Render</code>, created <code>const ui = new Render()</code>, and awaited <code>ui.ready</code>.</p>
<pre class="install-snippet"><code>npm install @zyther/tzrender</code><button class="copy-inline" type="button" data-copy="npm install @zyther/tzrender" aria-label="Copy install command">Copy</button></pre>
<a class="text-link" href="https://github.com/zytherdev/tzrender" target="_blank" rel="noopener">Browse the source on GitHub <span aria-hidden="true">↗</span></a>
</div>
<div class="component-playground">
<div class="component-card">
<div class="component-card-top"><span class="component-mark mark-violet">01</span><div><h3>Feedback</h3><p>Let people know what just happened.</p></div></div>
<div class="component-actions"><button class="button button-small" id="demoToast" type="button">Show toast</button><button class="button button-small button-quiet" id="demoAlert" type="button">Show alert</button><button class="button button-small button-quiet" type="button" data-copy="ui.toast({ title: 'Saved', message: 'Your changes are ready.', variant: 'success' });" aria-label="Copy toast example">Copy example</button></div>
</div>
<div class="component-card">
<div class="component-card-top"><span class="component-mark mark-amber">02</span><div><h3>Confirmation</h3><p>Ask before a meaningful action.</p></div></div>
<div class="component-actions"><button class="button button-small" id="demoConfirm" type="button">Open confirm dialog</button><button class="button button-small button-quiet" type="button" data-copy="const confirmed = await ui.confirm({ title: 'Continue?', msg: 'Are you ready?' });" aria-label="Copy confirmation example">Copy example</button></div>
</div>
<div class="component-card">
<div class="component-card-top"><span class="component-mark mark-sky">03</span><div><h3>Content patterns</h3><p>Explore collapsible and tabbed content.</p></div></div>
<div class="component-actions"><button class="button button-small" id="demoAccordion" type="button">Try accordion</button><button class="button button-small" id="demoTabs" type="button">Try tabs</button><button class="button button-small button-quiet" id="demoTooltip" type="button">Focus for a tooltip</button><button class="button button-small button-quiet" type="button" data-copy="ui.accordion({ items: [{ title: 'What is HTML?', content: 'A language for page structure.' }] });" aria-label="Copy accordion example">Copy example</button></div>
<div class="demo-pattern-mount" id="demoPatternMount"></div>
</div>
<div class="component-card">
<div class="component-card-top"><span class="component-mark mark-mint">04</span><div><h3>Navigation</h3><p>Try a keyboard-friendly menu or drawer.</p></div></div>
<div class="component-actions"><button class="button button-small" id="demoMenu" type="button">Open menu</button><button class="button button-small button-quiet" id="demoDrawer" type="button">Open drawer</button><button class="button button-small button-quiet" type="button" data-copy="ui.drawer({ title: 'Details', content: 'More information.' });" aria-label="Copy drawer example">Copy example</button></div>
</div>
<div class="component-card component-wide">
<div class="component-card-top"><span class="component-mark mark-violet">05</span><div><h3>Loading states</h3><p>Try a spinner, blocking screen, skeleton, and real progress UI.</p></div></div>
<div class="component-actions"><button class="button button-small" id="demoSpinner" type="button">Show spinner</button><button class="button button-small" id="demoBlocker" type="button">Show blocker</button><button class="button button-small button-quiet" id="demoSkeleton" type="button">Try skeleton</button><button class="button button-small button-quiet" type="button" data-copy="const progress = ui.progress({ label: 'Uploading', value: 25, showValue: true });" aria-label="Copy progress example">Copy example</button></div>
<div class="demo-progress"><div><span>Uploading your first build</span><strong id="demoProgressValue">68%</strong></div><div class="demo-progress-track" id="demoProgressTrack"></div><button class="text-link" id="demoProgress" type="button">Advance progress <span aria-hidden="true">→</span></button></div>
</div>
<div class="component-card component-wide component-lab">
<div class="component-card-top"><span class="component-mark mark-sky">06</span><div><h3>More building blocks</h3><p>Choose a component to try its real package API, then copy the beginner-ready example.</p></div></div>
<div class="new-component-controls"><label for="newComponentSelect">Component</label><select id="newComponentSelect" class="toolbar-select"><option value="switch">Switch</option><option value="checkboxGroup">Checkbox group</option><option value="radioGroup">Radio group</option><option value="segmentedControl">Segmented control</option><option value="combobox">Combobox</option><option value="popover">Popover</option><option value="pagination">Pagination</option><option value="breadcrumb">Breadcrumb</option><option value="rating">Rating</option><option value="copyButton">Copy button</option><option value="avatar">Avatar</option><option value="badge">Badge</option></select></div>
<div class="new-component-live" id="newComponentMount"></div>
<div class="new-component-example"><pre><code id="newComponentCode">ui.switch({ label: 'Email updates', checked: true });</code></pre><button class="button button-small button-quiet" id="copyNewComponentExample" type="button" data-copy="ui.switch({ label: 'Email updates', checked: true });" aria-label="Copy the selected component example">Copy example</button></div>
</div>
<p class="component-feedback" id="componentFeedback" role="status" aria-live="polite">Interactive examples are ready after the component styles load.</p>
</div>
</div>
</section>
<section class="learn-section wrap">
<div class="learn-note"><span class="learn-number">01</span><div><h2>Stay in control of your code.</h2><p>The preview runs in a separate sandbox. Your drafts are stored only in this browser until you export them.</p></div></div>
<div class="learn-note"><span class="learn-number">02</span><div><h2>Keep learning past the demo.</h2><p>Every CSS tool shows the code it creates. Take it into your own project and build on what you learned.</p></div></div>
</section>
<section class="community-section wrap" aria-labelledby="community-heading">
<div><p class="eyebrow">OPEN SOURCE, BUILT BY ZYTHER DEV</p><h2 id="community-heading">Build in the open.</h2><p>tzrender is maintained by <a class="text-link" href="https://zyther.dev/" rel="me">Zyther Dev</a> and shared as an open-source project for people learning the web.</p></div>
<div class="community-actions"><a class="button button-primary" href="https://github.com/zytherdev/tzrender" target="_blank" rel="noopener">Star tzrender on GitHub <span aria-hidden="true">↗</span></a><a class="text-link" href="https://github.com/zytherdev" target="_blank" rel="me noopener">More from Zyther Dev <span aria-hidden="true">→</span></a></div>
</section>
</main>
<footer class="site-footer wrap"><a class="brand" href="/"><span class="brand-mark" aria-hidden="true"></></span><span>tzrender</span></a><p>Built by <a href="https://zyther.dev/" rel="me">Zyther Dev</a> for curious people learning the open web.</p><div><a href="/editor.html">HTML editor</a><a href="/tools.html">CSS tools</a><a href="https://github.com/zytherdev/tzrender" target="_blank" rel="noopener">Star on GitHub ↗</a></div></footer>
</body>
</html>