Written content to help you along your web development journey, without forgetting to have some fun along the way.
A (limited) CSS-only approach for styling placeholders, along with a way to work around the limitations with a custom JS-based solution.
Hide the “more videos” section on an embedded YouTube video with this quick tip.
Learn how to run a single test within a file, how to target a series of tests within a file, or how to only target a single file when using Jest.
Multiple approaches on running a subset of Jest tests within a project.
A quick tip for making ordered lists in markdown easier to write.
In some cases, you may want multiple references in a component of unknown quantity. Here’s how you can make it work.
Add some flair to a simple tab solution by adding an animated bottom border.
This is a trick to running commands that you don’t want to be saved in your history.
The foundation for a tab system begins with a state hook, triggered by clicks on tab elements. View the code snippet and use the playground to see it in action.
Exit clauses can help you write less code and make your code more readable. Here is a simple example, along with some additional tips.