Code Concisely
Full-stack web development tutorials on JavaScript and more.
Latest posts
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.
Using Socket.IO With React Hooks
Learn how to use Socket.IO with hooks in React. Write a custom hook that handles events.
How to Fix unknownAtRules Warnings From Tailwind CSS
CSS/
Learn how to resolve unknownAtRules warnings that appear when using directives from Tailwind CSS.
Dynamic Classes in Tailwind CSS
CSS/
Learn why dynamic classes don’t work in Tailwind CSS and how to fix that.
Working With Data Attributes in JavaScript
Learn how to use HTML data attributes in JavaScript.
How to Use Custom Fonts in Tailwind CSS
CSS/
Learn how to change the font in your Tailwind CSS project.