Code Concisely
Full-stack web development tutorials on JavaScript and more.
Latest posts
How to Download ZIP Files in Next.js
A tutorial on downloading ZIP archives in Next.js applications.
Uploading Files in Next.js
Learn how to upload a file or multiple files in Next.js from client to an API route.
Uploading Files To Sanity via API
Learn how to upload files to your Sanity dataset using Sanity’s API.
Download a File From App Router API in Next.js
Learn how to create an App Router API endpoint that sends downloadable file in Next.js.
Downloading Files in Next.js Using Pages Router
Learn how to download a file from an API route in Next.js using Pages Router.
Detecting Clicks Outside of a Component in React
Learn how to detect clicks made outside of a component in React. Useful for closing modals and dropdown menus when clicking anywhere else on the page.
Using Multiple Classes With React CSS Modules
Learn how you can apply styles from selectors with multiple classes in CSS modules.
Fix Docker Permission Denied Error for node_modules
Learn how to fix Docker permission error for node_modules directory.
How to Create Tabs With JavaScript
Learn how to create tabs using JavaScript, HTML and CSS. Improve the tab accessibility using various ARIA attributes and enabling keyboard navigation.
Creating a Custom Button Component in React
Learn how to create your own button component in React. Make it accept all standard HTML button attributes.