My Code — Personal HTML CSS JS Code Space
What's included
Features
About this tool
My Code — Personal HTML CSS JS Code Space
If you are learning HTML, CSS, or JavaScript, one of the hardest problems is where to keep what you have learned. Notes get lost. CodePen links scatter across browser tabs. Copy-pasted snippets disappear into dead text files. My Code solves this — it is a personal, private, always-available code space built into the UI Snippets tool where you save your work, practice new techniques, and build your own collection of reusable components over time.
For learners: the fastest way to understand frontend code is to read it, break it, and make it yours. My Code gives you 1658+ real-world HTML, CSS, and JavaScript components to learn from. Open a magnetic button — it teaches real-time vector math. Open a CSS aurora background — it teaches mix-blend-mode and @keyframes. Open an OTP input — it teaches DOM focus management. Load any snippet, change values, remove lines, add your own styles, and watch what breaks and what improves in the live preview. Then save your version with the name of the technique you just learned. Next time you need it, it is already there, already understood, already yours. Pair this with the HTML Playground or CSS Playground to go deeper on individual languages.
For practitioners: stop rewriting the same things from memory on every project. The patterns you reach for on every project — a loading state, a dropdown, a card layout, a responsive nav — should not live in your head or inside old project folders. Save your best version of each one to My Code, name it clearly, and paste it into any new project in seconds. Every snippet you save is fully editable at any time. Your personal library grows with you.
Create from scratch, not just from templates. My Code is not just a place to save library snippets. Click + Create new and you get a completely blank HTML, CSS, and JavaScript editor with live preview. No template, no boilerplate, no framework. Write anything — a widget you are experimenting with, a layout idea you want to test, a JavaScript technique you are practising. Save it when it works. Come back and improve it later.
Everything stays in your browser. My Code uses your browser's IndexedDB — a local database built into every modern browser. No account required, no sign-up, no data uploaded to any server. Your snippets are as private as a file on your desktop. Close the tab, restart your computer, come back three months later — your code is still there.
Add any external library via CDN. Practising GSAP animations? Learning Three.js? Testing Alpine.js? Every snippet in My Code has a CDN panel where you paste any JS or CSS CDN URL — the library loads instantly in the preview. If you want to go deeper on CSS specifically, the CSS Animation Generator can help you generate keyframe code to paste in. Common libraries like Bootstrap, Tailwind, jQuery, GSAP, D3, and Chart.js are available as one-click suggestions. Your CDN links are saved with each snippet so they reload automatically every time you open it.
Take your code anywhere with GitHub Gist sync. Connect a GitHub personal access token (gist scope only) and your entire collection backs up to a private GitHub Gist. The sync runs automatically every 3 minutes while the tab is open. On a new device, enter your token and Gist ID and your full library restores instantly. Your code follows you without any FWD Tools account, subscription, or cloud service involved.
Step by step
How to Use
- 1Start learning from the libraryOpen any of the 1658+ components from the library. Read the HTML, CSS, and JS to understand how it works. Change values, remove styles, add new ones. See what breaks and what improves in the live preview — this is the fastest way to learn frontend techniques.
- 2Save what you learnOnce you understand a snippet and have adapted it to your taste, click "Save as", give it a name that reflects what you learned (e.g. "CSS Grid Bento Layout" or "IntersectionObserver Reveal"), and press Enter. It lands in My Code instantly.
- 3Create from scratch to practiseClick "+ Create new" to open a blank HTML/CSS/JS editor. Use it to practise a technique you just read about, sketch a UI idea, or experiment with a CSS property you have never tried. No template, no starting code — just a blank canvas with live preview.
- 4Revisit and improveClick any saved snippet to reopen it in the editor. Edit it, refine it, add dark mode, make it responsive, convert the CSS to variables. Your collection gets better every time you come back.
- 5Search your collectionAs your collection grows, use the search bar in My Code to find any snippet by name instantly. Filter by White or Dark theme tags to narrow results.
- 6Back up with GitHub GistClick the GitHub icon in the header, paste a personal access token (gist scope), and click Sync Now. Your snippets back up to a private Gist automatically every 3 minutes. Restore on any device with the same token and Gist ID.
- 7Export when you need itWhen a snippet is ready for a real project, click "HTML" to download a standalone file, "JSX" for a React component, or "Tailwind" for a React + Tailwind component. "Copy all" puts the full HTML/CSS/JS on your clipboard in one click. Use the HTML to JSX Converter if you need to convert existing markup before saving.
Real-world uses
Common Use Cases
Got questions?
Frequently Asked Questions
Yes — learning by reading and modifying real working code is one of the most effective methods. My Code gives you 1658+ real components to open, edit, break, and learn from in a live editor. When you understand something, save your version with a descriptive name and build a searchable library of everything you have actually learned.
Yes. Click "+ Create new" to open a completely blank editor with HTML, CSS, and JS panels and a live preview. No starting code, no template. Write a component from memory, practise a technique you just read about, or experiment with a CSS property. Save it when it works.
Your snippets are stored only in your browser's IndexedDB — a local database no one else can access. Nothing is uploaded to any FWD Tools server. No one can see your code. The only external request is the optional GitHub Gist sync, which goes directly from your browser to GitHub's API.
Clearing browser data removes your IndexedDB storage. Use GitHub Gist sync to back up your collection — connect a personal access token and your snippets are preserved in a private Gist. Restore them instantly on any device by entering the same token and Gist ID.
Open any snippet from the library, customise it in the editor as much as you want, then click "Save as" in the header. Type a name and press Enter. Your edited version is saved to My Code immediately.
Yes, via GitHub Gist sync. On any device, open My Code, click the GitHub icon, and enter your personal access token and Gist ID. Your full collection restores from the private Gist. No FWD Tools account needed.
No hard limit from FWD Tools. The practical limit is your browser's IndexedDB quota, typically several hundred megabytes — enough for thousands of text-based code snippets.
My Code is designed for personal use — it lives in your browser and is not shareable. For team collaboration, export any snippet as an HTML file, JSX component, or React + Tailwind component and add it to your shared codebase. The GitHub Gist sync is personal and private.
No account, no sign-up, no subscription. My Code is completely free. Your snippets live in your browser. The optional GitHub Gist sync requires only a GitHub personal access token, which you can create for free in your GitHub account settings.