Issue #338 (JS Promises, CSS/HTML, Testing, Uncats)01/09/20
The article covers:
- What is a Promise with some skeleton code, and builds from there
- How do Promises interact with surrounding code (e.g. order of execution)
- How to respond when a Promise is done
- Promises vs. Callbacks (if you want a bit of a history lesson, I wrote an article back in 2012 on callbacks)
- Chaining Promises
- A bunch of CodePen demos as interactive "cheat sheets"
- And lots more...
This articles does exactly what any good technical content should do: Build slowly and don't assume too much knowledge from the reader.
Now on to this week's tools!
CSS and HTML Tools
Online tool to make box shadows look smoother using layered shadows.
500+ minimalist, customizable icons built entirely with CSS.
Animated CSS Background Generator
This is a bit of a hack, has a lot of code, and might cause performance problems.
A color palette inspiration site that acts as a real world example as to how the colors could be used in your design projects.
A collection of popular layouts and patterns made with CSS.
A collection of Paged Media polyfills, to display paginated content in the browser and to generate print books using web technology.
CSS Scroll Shadows
Online tool to create shadows to make scrollable page areas more obvious that they're scrollable.
A set of buttons that incorporate a loading icon into their UI.
CSS Flexbox Cheatsheet
VSCode extension that lets you open a flexbox cheatsheet directly in the editor.
A color transition tool that calculates the transition colors between two picked colors, to build a color palette from the selected colors.
Now at version 4+ (details). A CSS minifier that performs three sorts of transformations: cleaning, compression, and restructuring (merging of declarations, rule sets, etc).
Testing and Debugging Tools
A free online service for creating user tests of UI based on the "first click" method.
Page speed monitoring service powered by Lighthouse with easy-to-use data reports and performance budgets and alerts.
Website uptime monitoring service with versatile alerting (email, SMS, Slack), hands-on support, certificate expiry checks, and team features.
A debugging tool for React Suspense. It wraps your calls to React.lazy(), provides a simple cache, and lets you pause, delay, or invalidate your promises.
A resilience and transient-fault-handling library that allows developers to express policies such as Backoff, Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback. Inspired by .NET Polly.
Get instant crash and error notifications no matter your development stack.
A simplified and easy-to-use item checklist to audit your website for proper formatting, performance, accessibility, and security standards.
Allows you to expose a web server running on your local machine to the internet. Just tell ngrok what port your web server is listening on.
A super simple site crawler and broken link checker.
A set of commands that make continuously running, asserting, saving, and retrieving Lighthouse results as easy as possible.
A set of online tools including URL encode/decode, web page to plain text converter, metatags checker, keyword density checker, and more.
Annotate the web, with anyone, anywhere.
The simplest way to add superior passwordless authentication to your website.
Hassle-free data extraction. A scraping API that handles all problems related to web scraping to make HTML extraction easier.
OK2 Short URL
A simple URL shortening service with a free and paid plan that offers extra tracking features and lots more.
A changelog service to keep your customers in the loop about your product.
SERP API that enables you to scrape search engine result pages in real time without interruption.
A Google Fonts search engine that's been organized with custom tags to make it easier to find lesser-used fonts.
Adds code highlighting, code zooming, code scrolling, code focusing, code morphing, and fun to MDX Deck slides.
Enables you to schedule webhooks via API and dashboard and instantly notifies you in case of any failure.
A Tweet for Thought
I think we all feel this way
PS - Last week's "2nd most-clicked Tweet of 2019" was accidentally a broken link. Here's the correct link to Erin's hilarious tweet
Send Me Your Tools!
Made something? Send links via Direct Message on Twitter @WebToolsWeekly (details here). No tutorials or articles, please. If you have any suggestions for improvement or corrections, feel free to reply to this email.
Before I Go...
Cookie Status attempts to amalgamate all the different bits of information on how different browsers are handling browser tracking prevention.
Thanks to all for subscribing and reading!