
Netlify Serverless Functions: A Beginner's Guide to the Modern API
Build Netlify serverless functions with the modern Request/Response API. Setup, custom routes, API key proxying, CORS fixes, and the production 404 fix.
Library
Every published guide in one place. Narrow it by the tool you use or the topic you are stuck on.
Tools
Topics
Filtered: JavaScript

Build Netlify serverless functions with the modern Request/Response API. Setup, custom routes, API key proxying, CORS fixes, and the production 404 fix.

Learn to build custom CSS and JavaScript cursors with hotspot calibration, GPU acceleration, and accessibility fallbacks. Includes working code examples.

Learn what javascript:void(0) actually does, why it still appears in modern codebases, and when you should replace it with event.preventDefault() or a button.

Format JavaScript dates without a library using native Intl.DateTimeFormat. Compare Day.js, date-fns, and Temporal API to find the right fit for your project.

Discover why placing a form inside a form breaks your DOM and learn three W3C-compliant solutions using HTML5 attributes and JavaScript.

Stop using body.dark classes. Learn how to build a modern Dark Mode using the new CSS light-dark() function and simple JavaScript. LocalStorage included.