David Walsh Blog - RSS Feed

JavaScript, HTML5, AJAX, PHP, CSS, and ∞.

Latest articles

Monitor Your SEO Placement with SEObase (Sponsored)

Search engine optimization is big business; both SEO experts and their customers want to track the effectiveness of their keywords, campaigns, and competition. To get and measure those results, however, you need the right tooling monitor those results. SEObase is an awesome tool for doing just that — monitoring keywords and results across search engines!...

Five Top Quality APIs

It’s easy to think about creating beautiful UIs for presenting data when you don’t consider the effort that goes into gathering and serving the data itself. Here’s the thing — thanks to apilayer, you can focus on your UIs and not the pain of API creation. No need to worry about licensing, load balancing, and rate limits when these five amazing APIs...

Intl.NumberFormat

Formatting numbers on the client side is an important task, especially when you consider how much raw API usage is in play these days. What’s also important is ensuring those numbers are meaningful to users, no matter where they are in the world, especially if you’re an eCommerce website. Writing internationalization code can be a nightmare...

Detect CSS Overflow Elements

Every once in a while you encounter a CSS annoyance that takes some cleverness to discover. One such case rears its ugly head in unwanted and unexpected scrollbars. When I see unwanted scrollbars, I usually open developer tools, click the element inspector, and hover around until I find the villainous HTML element. As a visual person, I find that...

How to Mine Ethereum

Note: I expect a large number of people to object to cryptocurrency mining’s energy use and I totally understand. Hell, I agree. A few notes to consider: first, this will soon be remedied by Ethereum switching to proof os stake. Second, much of the energy used to mine cryptocurrencies is renewable. While mining cryptocurrency isn’t...

Now is the Time to Get Your Business Protected from Cyberthreats (Sponsored)

Malware has been a problem for decades, one that was exacerbated by the the rise of the internet, file sharing, and digital assets. Whether it’s keyloggers or other types of malware, they’ll make your computer slow and insecure, all without you knowing. And if you’re an employer with remote employees, you’ll want to ensure their computers are secured....

VS Code node:console Fix

I’ve been using Microsoft’s Visual Studio Code text editor for years with great success. The app has always been stable, flexible, and the best compliment I can give it: an afterthought. Recently, however, every time I added a console.log to a JavaScript file, VS Code would add import console from 'node:console'; to the top of file. As you...

Use Logpoints!

There’s sometimes a tribal attitude about how web developers should be debugging their code and solving problems. There’s the console.log loyalists, then there’s the debugger/breakpoint maximalists. I worked on the Firefox DevTools debugger for years and I can tell you my philosophy — use whichever tool helps you get the job done! I use console.log...

Awesome Git Aliases

Git is an amazingly powerful tool. It can keep track of all the code you write, let you organize your work into different branches, help you seamlessly work with other developers, and even let you time travel and make changes. But wouldn’t it be awesome if Git could do more? What if you could customize it with your own commands, making it do...

Insert Cursor at Any Position at Command Line

As much as I enjoy writing lengthy pieces of JavaScript APIs, techniques, and other tech brilliance, I very much enjoy providing people quick tips to make their daily dev lives better. This is one such post. Oftentimes I’m working with long command line directives, and as you can imagine, I usually screw up the spelling of a command. Despite...

Discover, share and read the best on the web

Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters! Get unfiltered news feeds or filter them to your liking.

Get Inoreader
Inoreader - Subscribe to RSS Feeds, Blogs, Podcasts, Twitter searches, Facebook pages, even Email Newsletters!