How to use an online HTML, CSS and JavaScript editor with a live preview
- Write your page: HTML, with CSS in a <style> tag and JavaScript in a <script> tag.
- The preview updates as you type; untick "Update as I type" to update only when you press Run.
- console.log messages and errors show under the preview.
- Press Save to download the page as index.html and open it in any browser.
Learning to code? The free courses in the Learn section go from beginner to expert, with tasks checked in this same editor. Other languages: all languages, Python, JavaScript, TypeScript, SQL.