30 seconds of code
Short code snippets for all your development needs
Featured Collections
Latest Articles
When working with numeric arrays in JavaScript, you might find yourself in need of finding the minimum or maximum value. Here's a quick and easy way to do it.
Level up your JavaScript logging with these
console.log()
tips and tricks.Centering content with CSS might often feel tricky. Here are 4 easy tricks you can use in your code today.
Top Snippets
Renders a tag input field.
Renders a checkbox list that uses a callback function to pass its selected value/values to the parent component.
Groups the given data into
k
clusters, using the k-means clustering algorithm.Creates a list with floating headings for each section.
Retrieves a set of properties indicated by the given selectors from an object.