Craig is a freelance UK web consultant who built his first page for IE2.0 in 1995. Since that time he's been advocating standards, accessibility, and best-practice HTML5 techniques. He's created enterprise specifications, websites and online applications for companies and organisations including the UK Parliament, the European Parliament, the Department of Energy & Climate Change, Microsoft, and more. He's written more than 1,000 articles for SitePoint and you can find him @craigbuckler.
Craig's articles
Learn how to send email in Node.js, exploring concepts and challenges of creating and sending email no matter what system you're using.
Learn how to use WebSockets in Node.js for two-way, interactive communication between a browser and server for fast, real-time applications.
Learn how to use server-sent events to enable a client to receive automatic updates from a server via an HTTP connection, with examples.
Learn how to move processing of long-running JS code to another thread using workers, child processes, clustering,and more.
Learn how to use nodemon and Node.js watch mode to auto restart your Node.js app and thereby speed up your development workflow.
Learn the basics of the Node.js file system module, which provides an API for writing files to the macOS, Windows and Linux file systems.
Learn about the benefits of running Node.js applications in Docker containers and how to create a practical development workflow.
Learn how to use the Fetch API — a simpler, easier, promise-based alternative to XMLHttpRequest — with Node.js, Deno and Bun.
Learn about Bun 1.0, a rival JavaScript runtime to Node.js and Deno, and the reasons it may tempt you away from your current favorite.
We review a bunch of the best programming fonts available for free download and for purchase, and how to choose the best one for you.
Learn how to use the esbuild bundler to optimize your JavaScript, TypeScript, JSX, and CSS code, and how to create your own build system.
Craig Buckler demonstrates a neat trick for applying CSS3 transforms to background images. Rotating and skewing elements with stunning backgrounds will now be a breeze!
Craig Buckler reviews the art of creating printer-friendly web pages with CSS, showing how to retrofit them to any site, at minimal cost.
Now that CSS nesting has started to land in browsers, learn how you can use it to write more efficient CSS without using a preprocessor.
Learn how to use the new View Transitions API, which offers an easier way to animate between DOM states and even between page loads.
Node.js 20 was released in April 2023. Learn about the new options available to developers with the world's most-used JavaScript runtime.
Learn the various CSS methods available for hiding elements on a web page, looking at how they differ and which is best when.
Get up to speed with Eleventy 2.0, a popular, highly configurable SSG that's packed with new features to make web development even easier.
Dive into this comprehensive guide to JavaScript error handling, where you'll learn how to throw, detect, and handle your own errors.
Learn about key problems related to asynchronous programming in JavaScript and how to make your life easier with promises and async/await.
Looking for tips on how to install PHP on Windows? We walk through how to install PHP 8.2 and Apache 2.4 on Windows 10 or 11 (64-bit).
Web scraping is a developer superpower, but it's getting harder. Bright Data makes scraping easier, reliable, and practical.
Learn why long-running functions in JavaScript are problematic, and how to use web workers to address execution speed issues.
Learn how to install, set up, manage, and use a full Linux environment on Windows 10 & 11 PCs with Windows Subsystem for Linux 2 (WSL2).
The REST API is a key part of web infrastructure. Learn about REST and REST APIs, and how web apps communicate over HTTP.
The new CSS :is(), :where() and :has() pseudo-class selectors are exciting additions to CSS. Learn how easy they are to use!
Learn about the most used and useful APIs built in to the standard Node.js runtime to save you time and improve your app's efficiency.
You want to start an online business… but where do you start? Learn about the best website builder tools and platforms for common use cases.
CSS preprocessors are popular, but they have some drawbacks. Learn the advantages of PostCSS and what its extensive range of plugins can do.
Atom has a wealth of packages that keep it up there with the best code editors. Learn about 12 of the best Atom packages for web developers.