Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
Elena is a lightweight (2.6kB) library for building Progressive Web Components.
It prioritizes HTML and CSS first to avoid layout shifts and performance issues associated with pure JavaScript components. By supporting server-side rendering and native standards, Elena enables cross-framework portability, ensuring accessible, performant design systems that work seamlessly across modern web environments.
Phoenix LiveView 1.2 is now available, introducing Colocated CSS support in HEEx templates.
This feature extracts CSS at compile time for processing by build pipelines. It leverages the @scope rule for style isolation via custom attributes. The release also includes enhanced HTML formatting, improved JS struct encoding, and configurable debug annotations.
CSS Bed is a collection of lightweight, classless CSS themes for quickly styling standard HTML without framework-specific classes.
Users can add a snippet to their site, preview numerous themes, and benefit from responsive behavior, broad browser support, small file sizes, and minimal learning. The project is open source on GitHub.
CodePen is a popular social development environment for front-end designers and developers.
It allows users to write code in the browser, experiment with HTML, CSS, and JavaScript, and share their projects instantly. It is widely used for prototyping, learning new web technologies, and showcasing creative coding efforts within the global developer community.
The 2026 WeCoded Challenge on DEV celebrates marginalized developers through storytelling and technical creativity.
Participants can submit personal reflections or frontend art between March 6 and April 5. Winners receive exclusive profile badges and DEV++ memberships, with entries judged on clarity, impact, and the effective use of frontend technologies.
The essay catalogs forgotten, non-standard HTML snippets created for browser wars, vendor extensions, third-party integrations, mobile platforms, SEO, social embeds, and web applications.
Examples include X-UA-Compatible, conditional comments, PICS, pinned-site metadata, AMP, pingbacks, and Twitter cards. Their histories show how rapidly changing platforms made once-useful markup obsolete, often replacing it with standardized APIs and metadata.
OrgWebAlchemy is a Guile Scheme library that uses Parsing Expression Grammars (PEG) to parse Org mode into an AST and render it as HTML through SXML, without Emacs.
It supports headings, nested lists, inline markup, links, blocks, tables, and customizable output. Licensed under GNU LGPL v3+, it is open source and under active development.
The author converted handwritten scanned pages into interactive, copy-pasteable text within an SVG.
By overlaying hidden text onto handwriting, using clever spacing techniques, and employing JavaScript to manage copy events, the author achieved a seamless digital experience that preserves the look of the original manuscript while maintaining full website accessibility and functionality.
This offline, single-file HTML tool enables file transfer between devices using QR codes.
It transmits data by cycling through encoded chunks, allowing retrieval even on older hardware with limited connectivity. The system tracks missing segments via a grid, supports CRC32 verification, and offers configurable chunk sizes, FPS, and ECC levels for reliable, low-bandwidth data exchange.
The article argues that many HTML tags, such as <p>, <li>, <img>, and <br>, do not strictly require closing tags according to the HTML5 living standard.
The author addresses a widespread misconception rooted in the XHTML era of the 2000s, where strict XML-like syntax was popularized. While elements like <p> and <li> have optional end tags, others like <img> are void elements that cannot have content. The author clarifies that omitting these tags is valid HTML, not an error, though consistency is recommended as a best practice. The piece also discusses the history of the self-closing slash, noting its role in ease of migration rather than technical necessity in modern HTML, while encouraging developers to focus on standards-compliant code over rigid and often misunderstood rules.
dom-docx is a library that converts semantic HTML fragments into native, editable OOXML Word documents.
It supports paragraphs, lists, tables, and images without using layout hacks. It features a robust visual regression loop for quality assurance and offers both Node.js and browser-based implementations for style handling and complex element conversion.
No-build, no-NPM, SSR-first JavaScript framework if you hate React, love HTML
Frontend · HTML · JavaScript
Qite.js is a DOM-first frontend framework designed as a lightweight, build-step-free alternative to React.
It prioritizes direct DOM manipulation, eliminates virtual DOM usage, and separates concerns by keeping HTML as the source of truth while utilizing declarative states and standard JavaScript. It is SSR-friendly, requires no npm, and enhances existing websites without forcing an SPA architecture.
This technical exploration demonstrates a creative method for implementing an interactive menu using only HTML and CSS, eliminating the need for JavaScript.
The technique centers on the use of two distinct clip-path properties to manage visual transitions. The first creates a circular reveal effect, expanding from the top-left to the bottom-right of the screen. By utilizing a specific calculation involving vmax and a multiplier of 1.42—representing the square root of 2—the developer ensures the circle covers the entire viewport regardless of aspect ratio. The second clip-path utilizes a polygon shape to simulate a light ray effect. While currently hardcoded, this approach offers a lightweight, high-performance alternative for web animations and UI design.
Show HN: µJS, a 5KB alternative to Htmx and Turbo with zero dependencies
Frontend · HTML · JavaScript
µJS is a lightweight AJAX navigation library that transforms traditional websites into single-page apps without requiring JavaScript frameworks or build steps.
It features prefetching, DOM morphing, and multi-fragment updates while remaining backend-agnostic. By intercepting links and form submissions, it enables instant navigation through background fetching and partial content replacement.
Use native HTML links instead of JavaScript buttons or popup handlers: real links support tabs, windows, downloads, URL copying, keyboard access, search engines, screen readers, previews, loading controls, bookmarks, and browser organization.
Prefer target="_blank" over JavaScript popups and browser-native loading. Avoid infinite scrolling, unnecessary JavaScript for large text, excess network round trips, custom <details>, and custom date pickers; native controls provide accessibility, keyboard support, standard formatting, and dark-mode compatibility, while CSS can improve their appearance.
The author argues that traditional Web Components utilizing Shadow DOM and JavaScript are often overkill for marketing websites.
Instead, they propose 'CSS Web Components,' an architecture where custom elements wrap standard HTML to provide clear styling boundaries and variant control through CSS attribute selectors without any JavaScript dependency.
This guide serves as a practical, non-expert tutorial on CSS, focusing on a learnable subset for building simple websites.
It highlights essential strategies like semantic HTML and classless CSS, while warning against common pitfalls like browser defaults, layout complexities, margin collapsing, and the intricacies of font rendering, ultimately advocating for a pragmatic approach to styling.
zt is a Zig HTML templating library adapted from Templ that parses templates into Zig during zig build, providing compile-time type checking and direct std.Io.Writer output without allocations.
It escapes text and attributes by default, validates URL schemes, requires closed elements, and requires {!value} for raw HTML. Templates support Zig control flow, reusable components, layouts, and @children, while errors map generated code back to source templates. It integrates with Dusty and supports htmx-based applications.
JSON-LD provides a standardized format to add structured data to websites, helping crawlers interpret semantic content, improve search results, and enable rich previews.
Implementing nodes such as Person, WebSite, and BlogPosting helps define site hierarchy for search engines and enhances metadata quality for both traditional crawlers and AI models.
Inline Tufte CSS sidenotes can harm accessibility and text usability despite working visually across wide and narrow layouts.
Because notes are embedded inside paragraphs and repositioned with CSS, text selection, reader modes, text browsers, and screen readers may produce confusing order, missing spaces, or unwanted copied content; collapsible checkbox controls also add interaction that conflicts with Tufte’s unobtrusive design. The author recommends semantically correct footnotes, positioned with CSS Grid or similar techniques and kept as blocks on mobile.