A Summer of Drought / / No Comments One consequence of the extreme temperatures being experienced in Europe this summer is that most of the continent is now under a drought warning and many areas are under a severe drought alert. The European Drought Observatory’s Drought Indicator map shows that nearly all countries in Europe are currently experiencing drought conditions.The extreme heat across Europe has already led to Maps Mania… more → Posted in: Interactive Maps Tagged with: Drought, summer
How Plugins Enhance The WYSIWYG Editing Experience (Sponsored) / / No Comments Image by JK_Studio from Pixabay WYSIWYG editors are one of the core components of any content management system (CMS). A well-coded, feature-filled WYSIWYG HTML editor can distinguish between a CMS users love and one they can’t stand. While all WYSIWYG editors have a set of basic functionality, the power of plugins enhances the editing experience. Plugins allow WYSIWYG editors to do more and provide advanced features to users. Therefore it is important to look at some of the plugins that make some WYSIWYG editors rise above others. It’s also essential to check how easily you can add these plugins. In this article, we’ll be taking you through the world of WYSIWYG editors... more → Posted in: JavaScript Tagged with: editing, Enhance, Experience, Plugins, Sponsored, WYSIWYG
Real Time World Temperature Records / / No Comments The pace of global heating in 2022 means that it is now possible to create a real-time map showing locations around the world where all-time temperature records are being broken. In just the last 24 hours two locations in the U.S. have experienced their highest ever recorded temperatures (Cotulla, TX & Escanaba, MI). It isn’t only in America where heat records are now being broken on a daily Maps Mania… more → Posted in: Interactive Maps Tagged with: Real, records, Temperature, time, World
JavaScript Event.defaultPrevented / / No Comments Whether you started with the old on_____ property or addEventListener, you know that events drive user experiences in modern JavaScript. If you’ve worked with events, you know that preventDefault() and stopPropagation() are frequently used to handle events. One thing you probably didn’t know: there’s a defaultPrevented proptery on events! Consider the following block of code: // Specific to a link const link = document.querySelector('#my-link'); link.addEventListener('click', e =e.preventDefault()); // A larger document scope document.addEventListener('click', documentClickHandler); function documentClickHandler(event) { if (event.defaultPrevented) {// Using the property... more → Posted in: JavaScript Tagged with: Event.defaultPrevented, JavaScript
How Far Can You Travel in 5 Hours? / / No Comments How Far Can You Go By Train in 5h? is an interactive map which shows you how far you can travel from any European rail station in less than five hours.Hover over any location on this map (within the highlighted area in Europe) and you can view an isochrome layer which shows you how far you can travel by train in hourly increments. The nearest train station (from which travel times are Maps Mania… more → Posted in: Interactive Maps Tagged with: hours, travel
Generating Zips in an Eleventy Site / / No Comments Here’s an interesting question. Given an Eleventy site that has dynamic resources of some kind, how could you provide a way to get those resources in one simple zip file? Here’s how I solved that problem. Raymond Camden… more → Posted in: JavaScript Tagged with: Eleventy, Generating, Site, Zips
Digging to China / / No Comments If you dig a hole anywhere in the United States then some wag is likely to ask you if you are digging to China. Of course if you could somehow dig a hole through the center of the Earth you wouldn’t end up anywhere near China. You would emerge soaked to the skin in the south Indian Ocean, somewhere between Madagascar and Australia. That is because no point in the contiguous United States has an Maps Mania… more → Posted in: Interactive Maps Tagged with: China, Digging
7 Ways to Optimize Performance for Your WordPress Site (Sponsored) / / No Comments The vast majority of blogs, news websites, and information websites run on WordPress. While the WordPress developer team and community do their best to ensure wordPress is performant, there are a number of practices you can implement to keep your site blazing fast. Let’s look at some of them! Use Cloudinary WordPress Plugin for Media Cloudinary is the most dynamic media transformation, delivery, and optimization service on the internet. With Cloudinary you can: Deliver optimized images, audio, and video per device, platform, and browser Use the Cloudinary API or querystring parameters to customize media on the fly Take advantage of client side JavaScript libraries to create image viewers,... more → Posted in: JavaScript Tagged with: optimize, performance, Site, Sponsored, ways, WordPress