Getting JavaScript to Talk to CSS and Sass | CSS-Tricks
JavaScript and CSS have lived beside one another for upwards of 20 years. And yet it’s been remarkably tough to share data between them. There have been large
I first got into web design/development in the late 90s, and only as I type this sentence do I realize how long ago that was. And boy, it was horrendous. I mean, being able to make stuff an
Opinionated Guide to React by Sara Vieira [PDF/iPad/Kindle]
After working with React for a few years and tackling a lot of its most common use applications, I’ve learned some tips and tricks that can create a smoother experience with less frustration for the most not-so-obvious things.
An Intro to Web Site Testing with Cypress | CSS-Tricks
End-to-end testing is awesome because it mirrors the user’s experience. Where you might need a ton of unit tests to get good coverage (the kind where you test
node.js - Webpack 4 devServer HMR plus full reload on other file changes (like views) - Stack Overflow
I have a web project with a working Webpack4 config using webpack-dev-server with HMR enabled and started this way via npm script:
cross-env NODE_ENV=development webpack-dev-server --inline --hot
...
What you'll learn What Cypress is and why you should use it Our mission, and what we believe in Key Cypress features Types of tests Cypress is designed
Do you know that joke about two little fishes that swim into an older fish? He asks the young fishes how the water is, and they respond: “what’s water?”. The little fishes live an…
Form Validation Part 3: A Validity State API Polyfill | CSS-Tricks
In the last article in this series, we built a lightweight script (6kb, 2.7kb minified) using the Validity State API to enhance the native form validation
Form Validation Part 2: The Constraint Validation API (JavaScript) | CSS-Tricks
In my last article, I showed you how to use native browser form validation through a combination of semantic input types (for example, ) and validation
Form Validation Part 1: Constraint Validation in HTML | CSS-Tricks
Most JavaScript form validation libraries are large, and often require other libraries like jQuery. For example, MailChimp's embeddable form includes a 140kb
“Create Once, Publish Everywhere” With WordPress — Smashing Magazine
The term COPE (“Create Once, Publish Everywhere”) is a methodology for publishing our content to different outputs (website, AMP site, email, apps, and so on) by having a single source of truth for all of them. Let’s explore how to implement COPE using WordPress.