Skip to content

Latest commit

Β 

History

66 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DevWonders Logo

DevWonders

The Pragmatic, Zero-Dependency Web Development Knowledge Base
Master modern native browser APIs, cutting-edge CSS, and clean architectural patterns without bloated third-party libraries.

Live Wiki Zero Dependencies License GitHub Stars

🌐 Explore Live Wiki β€’ πŸ“š Topics β€’ ⚑ Interactive Features β€’ πŸ’» Quick Start β€’ 🀝 Contributing


πŸ’‘ The Philosophy

Stop installing 500 KB npm packages for problems the modern web platform already solves natively.
DevWonders is a curated reference manual designed to empower developers with pure HTML5, CSS3, modern ECMAScript, and robust terminal workflows β€” zero bundlers, zero framework lock-in, and 100% platform-first engineering.


🌟 Highlights & Features

πŸš€ Zero Build Step & Instant Load

Built entirely with native ES Modules and HTML/CSS. Clone the repository and serve it immediately β€” no node_modules, no Webpack/Vite overhead, no waiting for compiles.

⚑ In-Place Interactive JS Runner

Execute verified JavaScript code snippets right inside the documentation. Features a custom lightweight console terminal drawer with syntax-highlighted output (log, warn, error).

🎨 Live Interactive CSS Demos

Explore cutting-edge CSS features like @starting-style, text-wrap: balance, dynamic units (cap, svh), and Anchor Positioning with real-time interactive controls.

🧩 Native Web Components Architecture

Clean UI orchestration powered by reusable Custom Elements (<app-header>, <app-sidebar>) and centralized data routing via topics.json.


πŸ“š Topics Covered

Each category features real-world recipes, code snippets, and live interactive examples:

Topic Focus & Highlights Quick Link
HTML5 Native <dialog> Modals, Popover API, inert Focus Trapping, Adaptive Favicons, Template Slots View Guide β†’
CSS3 Anchor Positioning, @starting-style transitions, text-wrap: balance, light-dark(), Cap Unit View Guide β†’
JavaScript Object.groupBy(), AbortController cleanup, Native UUID, Numeric Separators, Code Runner View Guide β†’
TypeScript Utility Types (Partial, Required, Extract), Type Narrowing, Discriminated Unions View Guide β†’
Node.js Native Fetch API, Built-in Test Runner, Watch Mode (--watch), Native SQLite Client View Guide β†’
Git git worktree multi-branch workflows, bisect bug tracking, rerere, stash tricks View Guide β†’
VS Code Multi-cursor workflows, Regex find & replace, Case transformation, Essential Shortcuts View Guide β†’

⚑ Interactive Features

πŸ–₯️ In-Page Code Runner

Certain JavaScript snippets include a runnable badge with built-in execution controls:

  • Run (β–Ά): Evaluates the snippet safely in real-time.
  • Clear (πŸ—‘): Resets the mini terminal drawer.
  • Console Interception: Captures formatted objects, arrays, primitives, and errors directly in the styled UI drawer without needing DevTools.
// Example of a runnable recipe:
const users = [
  { name: "Alice", role: "admin" },
  { name: "Bob", role: "user" },
  { name: "Charlie", role: "admin" },
];

const byRole = Object.groupBy(users, (user) => user.role);
console.log(byRole);

πŸ’» Local Development

Because DevWonders relies solely on native web standards, you can spin up the development environment in seconds with any local HTTP server:

1. Clone the repository

git clone https://github.com/LDrawe/devwonders.git
cd devwonders

2. Start a local server (Pick any):

# Using VS Code
# Simply right-click index.html -> "Open with Live Server"

# OR Using Python 3 (Built-in)
python -m http.server 8000

# OR using Node.js
npx serve .

3. Open in your browser

Navigate to http://localhost:8000 and start exploring!


🀝 Contributing

Contributions make open-source thrive! Whether it's adding a new native trick, improving an interactive demo, or fixing documentation, your help is welcome.

How to add a new tip:

  1. Fork & Branch: Create a descriptive feature branch:

    git checkout -b feature/native-file-system-api
  2. Pick the Right File: Open the corresponding page in pages/ (e.g., pages/js.html).

  3. Follow the Standard Component Structure:

    <section>
      <h2>Feature Title</h2>
      <p>
        Concise explanation of the problem, why third-party libraries aren't
        needed, and how the native platform accomplishes it.
      </p>
      <div>
        <div>
          <div class="language-control"></div>
          <pre><code class="language-javascript code-block">
    // Clean, copy-pasteable example
                </code></pre>
        </div>
      </div>
    </section>
  4. Commit & Push:

    git commit -m "feat(html): add Popover API interactive recipe"
    git push origin feature/native-file-system-api
  5. Open a Pull Request: Submit your PR with a clear summary of your addition.


βš–οΈ Dual License

To ensure both snippet reusability and project preservation, DevWonders uses a dual-licensing model:


Crafted with care by Eduardo (LDrawe)

Live Wiki β€’ Report Issue β€’ Request Feature

Copyright Β© 2026 DevWonders. Powered by the open web platform.

About

An Open-Source wiki of coding tips, new features and best practices

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages