Code Playground & Previewers guides

How-to guides for code playground & previewers. Write code and see the result instantly. Preview HTML pages, experiment with CSS and JavaScript, render Markdown, inspect SVG files, explore JSON as a tree and test how a page looks on phone, tablet and desktop screens. Your code runs in a sandboxed frame inside your browser and is never uploaded.

PlaygroundBootstrap 5 Grid System Explained With Layouts You Can TestUnderstand Bootstrap 5 containers, rows, columns and breakpoints, build common page layouts, and prototype them live with Bootstrap components and icons. 5 min readPlaygroundCSS Flexbox Explained, From justify-content to flex-growUnderstand the main and cross axis, justify-content versus align-items, wrapping, and how flex-grow, flex-shrink and flex-basis share space between items. 6 min readPlaygroundCSS Named Colors and How to Choose Web Colors That WorkHow CSS color names like tomato and slategray work, when to use names versus HEX codes, and how to build tints, shades and readable text colours. 6 min readPlaygroundHow Markdown Converts to HTML, With GitHub Flavored ExamplesSee exactly which HTML each Markdown element produces, how GitHub Flavored Markdown adds tables and task lists, and how to publish converted HTML safely. 5 min readPlaygroundHow Tailwind CSS Utility Classes Work, With Examples to TryLearn the utility-first idea behind Tailwind CSS, read class names like p-4 and md:flex, use variants and @apply, and experiment safely in the browser. 5 min readPlaygroundHow to Build a Quick Web Prototype With HTML, CSS and JavaScriptPlan, build and share a small interactive web prototype in one browser editor, with separate HTML, CSS and JS panes, a live preview and a console. 6 min readPlaygroundHow to Convert Web Pages and HTML Content Into Clean MarkdownMove HTML content into Markdown for docs, wikis, static sites or notes, keep tables and lists intact, and understand what cannot be converted. 5 min readPlaygroundHow to Create Accessible HTML Tables With thead, th and captionBuild HTML data tables that screen readers understand and phones can display, with the right structure, clean CSS, and a quick way to convert spreadsheet data. 5 min readPlaygroundHow to Embed Videos and Pages With Responsive, Secure IframesLearn how iframes work, how to keep embeds responsive at any aspect ratio, and which title, loading, allow and referrer settings make them fast and safe. 6 min readPlaygroundHow to Explore Large JSON Files With a Tree View and JSON PathsNavigate big or deeply nested JSON from APIs and exports, find the value you need, and copy its JSON path for code, queries and bug reports. 5 min readPlaygroundHow to Make Tables in Markdown, With Alignment and Escaping RulesLearn Markdown pipe table syntax, column alignment with colons, escaping pipes, line breaks in cells, and the limits of Markdown tables on different platforms. 5 min readPlaygroundHow to Preview HTML Code Safely Without Setting Up a Web ServerLearn how to open and render HTML files or snippets safely, why sandboxed previews matter, and how to check a page at phone and tablet widths. 7 min readPlaygroundHow to Read XML Files, Sitemaps and RSS Feeds and Fix Parse ErrorsUnderstand XML elements, attributes, namespaces and CDATA, read sitemaps and RSS feeds with confidence, and fix the parse errors that break XML files. 5 min readPlaygroundHow to Reduce SVG File Size Without Breaking the GraphicLearn what makes SVG files bloated, which optimisations are safe, how coordinate rounding works, and how to shrink icons and logos without visible changes. 6 min readPlaygroundHow to Share Code as a Readable Image for Slides and Social PostsWhen a code screenshot beats a text block, how to make one that stays readable on phones and slides, and how to keep it accessible for all readers. 6 min readPlaygroundHow to Test a Website on Different Screen Sizes Before LaunchCheck how your site behaves on phones, tablets, laptops and large monitors, which widths matter, and what device frames can and cannot tell you. 6 min readPlaygroundHow to Test HTML Emails Before Sending and Avoid Gmail ClippingA practical checklist for testing HTML email templates at desktop and mobile widths, keeping under Gmail's clipping limit and fixing common rendering issues. 6 min readPlaygroundHow to Test JavaScript Snippets Quickly and Read Console OutputRun small pieces of JavaScript, read console.log, warnings and errors correctly, and choose between a browser console, Node.js and an online runner. 6 min readPlaygroundHTML vs JSX, the Differences That Break React ComponentsThe rules that make HTML invalid as JSX, from className and style objects to self-closing tags and event handlers, and how to convert markup into React safely. 6 min readPlaygroundSVG viewBox, Width and Height Explained With Practical ExamplesUnderstand how the SVG viewBox, width and height work together, why icons appear cropped or tiny, and how to inspect and preview SVG files safely. 6 min read