The coding articles collection contains curated stories, tips, questions and answers on a wide variety of topics. The main focus of these articles revolves around the languages and technologies presented in snippets, as well as career advice and lessons.
JavaScript's this
keyword is a source of confusion for many beginners and veterans alike. Learn how it works in different scenarios and start using it correctly.
JavaScript, Function · Jun 12, 2021
Flexbox allows you to create fluid layouts easily. If you find yourself constantly looking up the syntax or how it work, this handy cheatsheet is all you need.
CSS, Layout · Jun 12, 2021
Regular expressions are a very useful tool in a variety of situations. Save this cheatsheet for any time you need to look up their syntax and speed up your development.
JavaScript, String · Jun 12, 2021
Learn how to swap the values of two variables in JavaScript using a single line of ES6 code.
JavaScript, Variables · Jun 12, 2021
Regular expressions, while very powerful, are notoriously hard to master. Start using them in your JavaScript code by understanding these 6 features.
JavaScript, String · Jun 12, 2021
Learn how JavaScript handles mutable data, such as objects and arrays, and understand how shallow cloning and deep cloning work.
JavaScript, Object · Jun 12, 2021
Learn all of the options JavaScript provides for modifying the URL of the current page in the browser without reloading the page.
JavaScript, Browser · Sep 27, 2021
Learn how mutability works in JavaScript, its applications to objects and how you can properly freeze them to make them constant.
JavaScript, Object · Jun 12, 2021
Writing short, efficient Python code is not always straightforward. Read how we optimize our list snippets to increase performance using a couple of simple tricks.
Python, List · Nov 7, 2021
Learn how CSS custom properties (CSS variables) work and what you can use them for in your code and designs.
CSS, Visual · Sep 28, 2021
Learn different ways to memoize function calls in JavaScript as well as when to use memoization to get the best performance results.
JavaScript, Function · Nov 7, 2021
Learn how to implement the singleton design pattern in JavaScript, using the Proxy object.
JavaScript, Object · Sep 28, 2021
Learn how the new JavaScript ES6 Iterators work and how you can use them to level up your programming projects by understanding these short code examples.
JavaScript, Array · Sep 26, 2021
As powerful as React is, it is also quite fragile at places. Did you know that just a few lines are more than enough to break your entire React application?
React, Debugging · Nov 6, 2021
Learn how to programmatically copy text to clipboard with a few lines of JavaScript and level up your web development skills.
JavaScript, Browser · Jan 11, 2022