Codepedia is a lightweight, browser-based live code editor designed for web developers to prototype and test HTML, CSS, and JavaScript instantly. With a sleek, dark-themed interface and real-time preview engine, it offers a seamless coding experience similar to CodePen.
Check out the live application here: π https://codepedia-sandy.vercel.app/
- Real-time Preview: Instantly renders HTML, CSS, and JavaScript as you type.
- Three-Pane Layout: Dedicated, resizable code editors for distinct languages.
- Smart Error Handling: JavaScript execution is wrapped in
try-catchblocks to prevent the editor from crashing on syntax errors. - Modern UI/UX:
- Dark mode aesthetics with a custom color palette (
#0f0f12background). - Glassmorphism effects on UI elements.
- Syntax highlighting simulation using colored borders and distinct fonts.
- Dark mode aesthetics with a custom color palette (
- Typography: Integrated Fira Code for monospaced editing and Inter for the UI.
- Responsive: Flexible layout that adapts to different screen sizes.
- Frontend: HTML5, CSS3 (Custom Properties/Variables)
- Logic: Vanilla JavaScript
- Fonts: Google Fonts (Inter, Fira Code)
- Icons: Custom CSS-styled indicators
Codepedia/
βββ .vscode/ # VS Code configuration
βββ index.html # Main application entry point
βββ style.css # Global styling and editor themes
βββ script.js # Core logic for live preview generation
βββ .gitignore # Git ignore rules
Built with β€οΈ by Rudresh Rajvansh