Fix tags, languages and templates

This commit is contained in:
Angelos Chalaris
2023-05-07 12:49:46 +03:00
parent 5c913d20bd
commit 2ecadbada9
245 changed files with 479 additions and 240 deletions

View File

@ -2,10 +2,11 @@
title: 10 must-have VS Code extensions for JavaScript developers title: 10 must-have VS Code extensions for JavaScript developers
shortTitle: Essential VS Code extensions shortTitle: Essential VS Code extensions
type: story type: story
language: javascript
tags: [devtools,vscode] tags: [devtools,vscode]
author: chalarangelo author: chalarangelo
cover: computer-screens cover: computer-screens
excerpt: VS Code is steadily gaining popularity among developers. Here are 10 essential extensions for JavaScript developers that aim to increase your productivity. excerpt: Boost your productivity with these 10 essential VS Code extensions for JavaScript developers.
unlisted: true unlisted: true
dateModified: 2021-06-12T19:30:41+03:00 dateModified: 2021-06-12T19:30:41+03:00
--- ---

View File

@ -2,7 +2,8 @@
title: 25 CSS gradients for your next project title: 25 CSS gradients for your next project
shortTitle: CSS gradients shortTitle: CSS gradients
type: cheatsheet type: cheatsheet
tags: [css,visual] language: css
tags: [visual]
author: chalarangelo author: chalarangelo
cover: colors-mural cover: colors-mural
excerpt: We hand picked 25 of our favorite CSS gradients from uiGradients for your next design. Get them now! excerpt: We hand picked 25 of our favorite CSS gradients from uiGradients for your next design. Get them now!

View File

@ -2,7 +2,8 @@
title: 4 JavaScript Array methods you must know title: 4 JavaScript Array methods you must know
shortTitle: Useful array methods shortTitle: Useful array methods
type: story type: story
tags: [javascript,array,cheatsheet] language: javascript
tags: [array,cheatsheet]
author: chalarangelo author: chalarangelo
cover: arrays cover: arrays
excerpt: JavaScript arrays have a very robust API offering some amazing tools. Learn the 4 must-know JavaScript array methods in this quick guide. excerpt: JavaScript arrays have a very robust API offering some amazing tools. Learn the 4 must-know JavaScript array methods in this quick guide.

View File

@ -2,7 +2,7 @@
title: 4 SEO tips for developers title: 4 SEO tips for developers
shortTitle: SEO tips shortTitle: SEO tips
type: story type: story
tags: [seo,webdev] tags: [webdev,seo]
author: chalarangelo author: chalarangelo
cover: sunrise-over-city cover: sunrise-over-city
excerpt: SEO is a very relevant topics that most developers are inexperienced in. Here are 4 actionable SEO tips you can implement today. excerpt: SEO is a very relevant topics that most developers are inexperienced in. Here are 4 actionable SEO tips you can implement today.

View File

@ -1,7 +1,8 @@
--- ---
title: 5 tips for better Pull Requests title: 5 tips for better Pull Requests
type: story type: story
tags: [git,github,programming,webdev] language: git
tags: [github,programming,webdev]
author: chalarangelo author: chalarangelo
cover: keyboard-tea cover: keyboard-tea
excerpt: Writing good code is only part of the job. Here are 5 tips to improve your pull requests and help people review them. excerpt: Writing good code is only part of the job. Here are 5 tips to improve your pull requests and help people review them.

View File

@ -2,7 +2,8 @@
title: 6 JavaScript Regular Expression features you can use today title: 6 JavaScript Regular Expression features you can use today
shortTitle: JavaScript Regular Expression tips shortTitle: JavaScript Regular Expression tips
type: story type: story
tags: [javascript,string,regexp] language: javascript
tags: [string,regexp]
author: chalarangelo author: chalarangelo
cover: taking-photos cover: taking-photos
excerpt: Regular expressions are very powerful, but hard to master. Understand these features and start using them in your JavaScript code. excerpt: Regular expressions are very powerful, but hard to master. Understand these features and start using them in your JavaScript code.

View File

@ -1,7 +1,8 @@
--- ---
title: 6 Python f-strings tips and tricks title: 6 Python f-strings tips and tricks
type: story type: story
tags: [python,string] language: python
tags: [string]
author: chalarangelo author: chalarangelo
cover: sea-view cover: sea-view
excerpt: Python's f-strings can do a lot more than you might expect. Learn a few useful tips and tricks in this quick guide. excerpt: Python's f-strings can do a lot more than you might expect. Learn a few useful tips and tricks in this quick guide.

View File

@ -2,10 +2,10 @@
title: 7 essential Chrome extensions for web developers title: 7 essential Chrome extensions for web developers
shortTitle: Essential Chrome extensions shortTitle: Essential Chrome extensions
type: story type: story
tags: [devtools,webdev] tags: [webdev,devtools]
author: chalarangelo author: chalarangelo
cover: computer-screens cover: computer-screens
excerpt: Google Chrome's developer tools are nothing short of amazing. Here are 7 must-have extensions you can add to increase your productivity even further. excerpt: Boost your productivity with 7 must-have Google Chrome developer tool extensions.
unlisted: true unlisted: true
dateModified: 2021-06-12T19:30:41+03:00 dateModified: 2021-06-12T19:30:41+03:00
--- ---

View File

@ -2,7 +2,8 @@
title: 8 tips for accessible websites title: 8 tips for accessible websites
shortTitle: Accessibility tips shortTitle: Accessibility tips
type: story type: story
tags: [javascript,accessibility,webdev] language: javascript
tags: [accessibility,webdev]
author: chalarangelo author: chalarangelo
cover: accessibility cover: accessibility
excerpt: Accessibility (a11y) can improve your website and attract new users. Learn how to get started with these 8 quick tips. excerpt: Accessibility (a11y) can improve your website and attract new users. Learn how to get started with these 8 quick tips.

View File

@ -1,10 +1,10 @@
--- ---
title: 8 tips for working from home title: 8 tips for working from home
type: story type: story
tags: [career,programming,jobs,webdev] tags: [webdev,career,programming,jobs]
author: chalarangelo author: chalarangelo
cover: kettle-laptop cover: kettle-laptop
excerpt: Working from home seems like a great alternative to going to the office, but there are challenges that come with it that you need to overcome... excerpt: Working from home seems great compared to going to the office, but there are challenges that come with it that you need to overcome.
unlisted: true unlisted: true
dateModified: 2021-06-12T19:30:41+03:00 dateModified: 2021-06-12T19:30:41+03:00
--- ---

View File

@ -1,7 +1,8 @@
--- ---
title: Asynchronous JavaScript Cheat Sheet title: Asynchronous JavaScript Cheat Sheet
type: cheatsheet type: cheatsheet
tags: [javascript,function,promise] language: javascript
tags: [function,promise]
author: chalarangelo author: chalarangelo
cover: green-plant cover: green-plant
excerpt: Learn everything you need to know about promises and asynchronous JavaScript with this handy cheatsheet. excerpt: Learn everything you need to know about promises and asynchronous JavaScript with this handy cheatsheet.

View File

@ -2,7 +2,8 @@
title: "Tip: A bash alias for copying from the web" title: "Tip: A bash alias for copying from the web"
shortTitle: Bash alias for copying from the web shortTitle: Bash alias for copying from the web
type: tip type: tip
tags: [git,configuration] language: git
tags: [configuration]
author: chalarangelo author: chalarangelo
cover: capsule-coffee cover: capsule-coffee
excerpt: Many online resources prefix their terminal commands with a dollar sign. Luckily, we've got a solution to this small annoyance. excerpt: Many online resources prefix their terminal commands with a dollar sign. Luckily, we've got a solution to this small annoyance.

View File

@ -1,7 +1,7 @@
--- ---
title: The benefits of writing title: The benefits of writing
type: story type: story
tags: [career,webdev,programming,jobs] tags: [webdev,career,programming,jobs]
author: chalarangelo author: chalarangelo
cover: laptop-view cover: laptop-view
excerpt: Writing about a topic can often sound boring or worthless. But there are significant benefits to doing it from time to time. excerpt: Writing about a topic can often sound boring or worthless. But there are significant benefits to doing it from time to time.

View File

@ -1,7 +1,8 @@
--- ---
title: Big-O Cheat Sheet title: Big-O Cheat Sheet
type: cheatsheet type: cheatsheet
tags: [javascript,algorithm] language: javascript
tags: [algorithm]
author: chalarangelo author: chalarangelo
cover: light-ring cover: light-ring
excerpt: Learn everything you need to know about Big-O notation with this handy cheatsheet. excerpt: Learn everything you need to know about Big-O notation with this handy cheatsheet.

View File

@ -1,7 +1,8 @@
--- ---
title: Breaking React - a common pattern to avoid title: Breaking React - a common pattern to avoid
type: story type: story
tags: [react,debugging] language: react
tags: [debugging]
author: chalarangelo author: chalarangelo
cover: broken-screen cover: broken-screen
excerpt: As powerful as React is, it is also quite fragile at places. Did you know that a few lines can easily break your entire React application? excerpt: As powerful as React is, it is also quite fragile at places. Did you know that a few lines can easily break your entire React application?

View File

@ -2,7 +2,8 @@
title: Code Anatomy - For loops, array reduce and method chaining title: Code Anatomy - For loops, array reduce and method chaining
shortTitle: For loops, array reduce and method chaining shortTitle: For loops, array reduce and method chaining
type: story type: story
tags: [javascript,array,iterator] language: javascript
tags: [array,iterator]
author: chalarangelo author: chalarangelo
cover: case-study cover: case-study
excerpt: There are many ways to iterate and transform array data in JavaScript. Learn how each one works and where you should use them. excerpt: There are many ways to iterate and transform array data in JavaScript. Learn how each one works and where you should use them.

View File

@ -2,7 +2,8 @@
title: Code Anatomy - Optimizing recursive functions title: Code Anatomy - Optimizing recursive functions
shortTitle: Optimizing recursive functions shortTitle: Optimizing recursive functions
type: story type: story
tags: [javascript,recursion,performance] language: javascript
tags: [recursion,performance]
author: chalarangelo author: chalarangelo
cover: case-study cover: case-study
excerpt: Recursive code tends to be inefficient or in need of optimization. Learn a couple of tricks we use to speed up our recursive functions. excerpt: Recursive code tends to be inefficient or in need of optimization. Learn a couple of tricks we use to speed up our recursive functions.

View File

@ -2,7 +2,8 @@
title: Code Anatomy - Writing high performance Python code title: Code Anatomy - Writing high performance Python code
shortTitle: Performant Python code shortTitle: Performant Python code
type: story type: story
tags: [python,list,performance] language: python
tags: [list,performance]
cover: walking-on-top cover: walking-on-top
excerpt: Writing efficient Python code can be tricky. Read how we optimize our list snippets to increase performance using a couple of simple tricks. excerpt: Writing efficient Python code can be tricky. Read how we optimize our list snippets to increase performance using a couple of simple tricks.
dateModified: 2021-11-07T16:34:37+03:00 dateModified: 2021-11-07T16:34:37+03:00

View File

@ -1,7 +1,8 @@
--- ---
title: Common regular expressions title: Common regular expressions
type: cheatsheet type: cheatsheet
tags: [javascript,string,regexp] language: javascript
tags: [string,regexp]
author: chalarangelo author: chalarangelo
cover: rocky-beach cover: rocky-beach
excerpt: A collection of regular expressions that can be used to solve common problems. excerpt: A collection of regular expressions that can be used to solve common problems.

View File

@ -1,7 +1,8 @@
--- ---
title: JavaScript console.log() tips & tricks title: JavaScript console.log() tips & tricks
type: story type: story
tags: [javascript,browser,cheatsheet] language: javascript
tags: [browser,cheatsheet]
author: chalarangelo author: chalarangelo
cover: terminal cover: terminal
excerpt: Level up your JavaScript logging with these `console.log()` tips and tricks. excerpt: Level up your JavaScript logging with these `console.log()` tips and tricks.

View File

@ -2,7 +2,8 @@
title: What is the difference between cookies, local storage, and session storage? title: What is the difference between cookies, local storage, and session storage?
shortTitle: Cookies, local storage, and session storage shortTitle: Cookies, local storage, and session storage
type: question type: question
tags: [javascript,browser,webdev] language: javascript
tags: [browser,webdev]
author: chalarangelo author: chalarangelo
cover: three-vases cover: three-vases
excerpt: Learn the difference between cookies, local storage and session storage and start using the correct option for your needs. excerpt: Learn the difference between cookies, local storage and session storage and start using the correct option for your needs.

View File

@ -2,7 +2,8 @@
title: How can I copy text to clipboard with JavaScript? title: How can I copy text to clipboard with JavaScript?
shortTitle: Copy text to clipboard shortTitle: Copy text to clipboard
type: question type: question
tags: [javascript,browser] language: javascript
tags: [browser]
author: chalarangelo author: chalarangelo
cover: typing cover: typing
excerpt: Learn how to programmatically copy text to clipboard with a few lines of JavaScript and level up your web development skills. excerpt: Learn how to programmatically copy text to clipboard with a few lines of JavaScript and level up your web development skills.

View File

@ -2,7 +2,8 @@
title: What is CORS? title: What is CORS?
shortTitle: CORS explained shortTitle: CORS explained
type: question type: question
tags: [javascript,browser,webdev] language: javascript
tags: [browser,webdev]
author: chalarangelo author: chalarangelo
cover: chill-surfing cover: chill-surfing
excerpt: CORS (Cross-Origin Resource Sharing) trips up many developers, but it's pretty easy to wrap your head around. excerpt: CORS (Cross-Origin Resource Sharing) trips up many developers, but it's pretty easy to wrap your head around.

View File

@ -2,7 +2,8 @@
title: 4 ways to center content with CSS title: 4 ways to center content with CSS
shortTitle: Centering content with CSS shortTitle: Centering content with CSS
type: story type: story
tags: [css,layout] language: css
tags: [layout]
author: chalarangelo author: chalarangelo
cover: mountain-lake cover: mountain-lake
excerpt: Centering content with CSS might often feel tricky. Here are 4 easy tricks you can use in your code today. excerpt: Centering content with CSS might often feel tricky. Here are 4 easy tricks you can use in your code today.

View File

@ -2,7 +2,8 @@
title: "Tip: Use clamp() in CSS for responsive typography" title: "Tip: Use clamp() in CSS for responsive typography"
shortTitle: CSS clamp() shortTitle: CSS clamp()
type: tip type: tip
tags: [css,visual] language: css
tags: [visual]
author: chalarangelo author: chalarangelo
cover: strawberries cover: strawberries
excerpt: Implement responsive typography with the CSS clamp() function. excerpt: Implement responsive typography with the CSS clamp() function.

View File

@ -2,7 +2,8 @@
title: How do you review CSS code in Pull Requests? title: How do you review CSS code in Pull Requests?
shortTitle: CSS code reviews shortTitle: CSS code reviews
type: story type: story
tags: [css,webdev] language: css
tags: [webdev]
author: chalarangelo author: chalarangelo
cover: green-css cover: green-css
excerpt: Reviewing CSS code is a skill that takes time to master. Here are some tips from my personal experience to help you get started. excerpt: Reviewing CSS code is a skill that takes time to master. Here are some tips from my personal experience to help you get started.

View File

@ -1,7 +1,8 @@
--- ---
title: The currentColor CSS keyword title: The currentColor CSS keyword
type: tip type: tip
tags: [css,visual] language: css
tags: [visual]
author: chalarangelo author: chalarangelo
cover: picking-berries cover: picking-berries
excerpt: The `currentColor` CSS keyword is a nifty alternative to custom properties for simple use cases. excerpt: The `currentColor` CSS keyword is a nifty alternative to custom properties for simple use cases.

View File

@ -2,7 +2,8 @@
title: "Tip: CSS easing variables" title: "Tip: CSS easing variables"
shortTitle: CSS easing variables shortTitle: CSS easing variables
type: tip type: tip
tags: [css,animation] language: css
tags: [animation]
author: chalarangelo author: chalarangelo
cover: curve cover: curve
excerpt: Learn how to use the `cubic-bezier()` class of easing functions and create beautiful animations that stand out. excerpt: Learn how to use the `cubic-bezier()` class of easing functions and create beautiful animations that stand out.

View File

@ -2,7 +2,8 @@
title: How can I ensure the footer is always at the bottom of the page? title: How can I ensure the footer is always at the bottom of the page?
shortTitle: Footer at the bottom shortTitle: Footer at the bottom
type: question type: question
tags: [css,layout] language: css
tags: [layout]
author: chalarangelo author: chalarangelo
cover: flower-shape-sunset cover: flower-shape-sunset
excerpt: Make sure the footer stays at the bottom of the page, instead of floating up when the content is too short. excerpt: Make sure the footer stays at the bottom of the page, instead of floating up when the content is too short.

View File

@ -2,7 +2,8 @@
title: CSS inherited properties cheatsheet title: CSS inherited properties cheatsheet
shortTitle: Inherited properties shortTitle: Inherited properties
type: cheatsheet type: cheatsheet
tags: [css,layout] language: css
tags: [layout]
author: chalarangelo author: chalarangelo
cover: half-trees cover: half-trees
excerpt: A quick reference for inherited CSS properties. excerpt: A quick reference for inherited CSS properties.

View File

@ -2,7 +2,8 @@
title: "Tip: Perfect nested border radius in CSS" title: "Tip: Perfect nested border radius in CSS"
shortTitle: Perfect nested border radius in CSS shortTitle: Perfect nested border radius in CSS
type: tip type: tip
tags: [css,visual] language: css
tags: [visual]
author: chalarangelo author: chalarangelo
cover: rocky-beach-waves cover: rocky-beach-waves
excerpt: Nesting elements with rounded borders can look very wrong if not done correctly. Here's a quick tip on how to do it right. excerpt: Nesting elements with rounded borders can look very wrong if not done correctly. Here's a quick tip on how to do it right.

View File

@ -2,7 +2,8 @@
title: What are CSS pseudo-classes? title: What are CSS pseudo-classes?
shortTitle: CSS pseudo-classes shortTitle: CSS pseudo-classes
type: question type: question
tags: [css,webdev] language: css
tags: [webdev]
author: chalarangelo author: chalarangelo
cover: orange-flower cover: orange-flower
excerpt: Learn how to use CSS pseudo-classes to style an element based on changes to its state. excerpt: Learn how to use CSS pseudo-classes to style an element based on changes to its state.

View File

@ -1,7 +1,8 @@
--- ---
title: CSS Reset title: CSS Reset
type: story type: story
tags: [css,visual] language: css
tags: [visual]
author: chalarangelo author: chalarangelo
cover: pink-flower-tree cover: pink-flower-tree
excerpt: A short, opinionated CSS reset to make your websites look great everywhere. excerpt: A short, opinionated CSS reset to make your websites look great everywhere.

View File

@ -2,7 +2,8 @@
title: What's the difference between :root and html in CSS? title: What's the difference between :root and html in CSS?
shortTitle: :root vs html shortTitle: :root vs html
type: story type: story
tags: [css,layout,selector] language: css
tags: [layout,selector]
author: chalarangelo author: chalarangelo
cover: tree-roots cover: tree-roots
excerpt: The CSS selectors used to target the root element of an HTML share some similarities, but they also have some differences. excerpt: The CSS selectors used to target the root element of an HTML share some similarities, but they also have some differences.

View File

@ -2,7 +2,8 @@
title: "Tip: Select any link with CSS" title: "Tip: Select any link with CSS"
shortTitle: "CSS :any-link pseudo-class" shortTitle: "CSS :any-link pseudo-class"
type: tip type: tip
tags: [css,visual,interactivity] language: css
tags: [visual,interactivity]
author: chalarangelo author: chalarangelo
cover: round-leaves cover: round-leaves
excerpt: You can use a CSS pseudo-class selector to style all links in a page, without worrying if they have been visited or not. excerpt: You can use a CSS pseudo-class selector to style all links in a page, without worrying if they have been visited or not.

View File

@ -2,7 +2,8 @@
title: "Tip: Style links without a class" title: "Tip: Style links without a class"
shortTitle: Style default links shortTitle: Style default links
type: tip type: tip
tags: [css,visual,interactivity] language: css
tags: [visual,interactivity]
author: chalarangelo author: chalarangelo
cover: citrus-drink cover: citrus-drink
excerpt: A short summary of your story up to 180 characters long. excerpt: A short summary of your story up to 180 characters long.

View File

@ -2,7 +2,8 @@
title: Why should line-height be unitless in CSS? title: Why should line-height be unitless in CSS?
shortTitle: Unitless line height shortTitle: Unitless line height
type: tip type: tip
tags: [css,layout,visual] language: css
tags: [layout,visual]
author: chalarangelo author: chalarangelo
cover: gold-typewriter cover: gold-typewriter
excerpt: You might have heard that `line-height` should be unitless, but do you know why? excerpt: You might have heard that `line-height` should be unitless, but do you know why?

View File

@ -1,7 +1,8 @@
--- ---
title: CSS units Cheat Sheet title: CSS units Cheat Sheet
type: cheatsheet type: cheatsheet
tags: [css,layout,cheatsheet] language: css
tags: [layout,cheatsheet]
author: chalarangelo author: chalarangelo
cover: measuring cover: measuring
excerpt: Learn everything you need to know about CSS units with this handy cheatsheet. excerpt: Learn everything you need to know about CSS units with this handy cheatsheet.

View File

@ -2,7 +2,8 @@
title: What are CSS variables and where can I use them? title: What are CSS variables and where can I use them?
shortTitle: CSS variables shortTitle: CSS variables
type: question type: question
tags: [css,visual,layout] language: css
tags: [visual,layout]
author: chalarangelo author: chalarangelo
cover: css-variables cover: css-variables
excerpt: Learn how CSS custom properties (CSS variables) work and what you can use them for in your code and designs. excerpt: Learn how CSS custom properties (CSS variables) work and what you can use them for in your code and designs.

View File

@ -2,7 +2,8 @@
title: "Tip: Customize the names of downloadable files" title: "Tip: Customize the names of downloadable files"
shortTitle: Customize the names of downloadable files shortTitle: Customize the names of downloadable files
type: tip type: tip
tags: [webdev,html,browser] language: html
tags: [webdev,browser]
author: chalarangelo author: chalarangelo
cover: hard-disk cover: hard-disk
excerpt: Learn what HTML5 attribute you can use to customize the names of your downloadable files with this quick tip. excerpt: Learn what HTML5 attribute you can use to customize the names of your downloadable files with this quick tip.

View File

@ -2,7 +2,8 @@
title: How can I detect if Caps Lock is on with JavaScript? title: How can I detect if Caps Lock is on with JavaScript?
shortTitle: Detect Caps Lock shortTitle: Detect Caps Lock
type: question type: question
tags: [javascript,browser,event] language: javascript
tags: [browser,event]
author: chalarangelo author: chalarangelo
cover: keyboard cover: keyboard
excerpt: If you need to check if Caps Lock is on when the user is typing in the browser, JavaScript's got you covered. excerpt: If you need to check if Caps Lock is on when the user is typing in the browser, JavaScript's got you covered.

View File

@ -1,7 +1,7 @@
--- ---
title: Escaping tutorial hell title: Escaping tutorial hell
type: story type: story
tags: [career,webdev,programming,jobs] tags: [webdev,career,programming,jobs]
author: chalarangelo author: chalarangelo
cover: campfire cover: campfire
excerpt: Many beginners get stuck in tutorial hell without even realizing. Here are 4 simple ways to escape tutorial hell and get back to learning. excerpt: Many beginners get stuck in tutorial hell without even realizing. Here are 4 simple ways to escape tutorial hell and get back to learning.

View File

@ -2,7 +2,8 @@
title: "Tip: Refactoring your for...in loops to avoid ESLint warnings" title: "Tip: Refactoring your for...in loops to avoid ESLint warnings"
shortTitle: Refactoring for...in loops to avoid ESLint warnings shortTitle: Refactoring for...in loops to avoid ESLint warnings
type: tip type: tip
tags: [javascript,array,iterator,eslint] language: javascript
tags: [array,iterator,eslint]
author: chalarangelo author: chalarangelo
cover: typing cover: typing
excerpt: ESLint is a really useful tool, but sometimes it gets in the way. Learn how to refactor code to get rid of a common warning. excerpt: ESLint is a really useful tool, but sometimes it gets in the way. Learn how to refactor code to get rid of a common warning.

View File

@ -1,7 +1,8 @@
--- ---
title: Flexbox Cheat Sheet title: Flexbox Cheat Sheet
type: cheatsheet type: cheatsheet
tags: [css,layout,flexbox,cheatsheet] language: css
tags: [layout,flexbox,cheatsheet]
author: chalarangelo author: chalarangelo
cover: frames cover: frames
excerpt: Flexbox allows you to create fluid layouts easily. If you are constantly looking up how it works, this handy cheatsheet is all you need. excerpt: Flexbox allows you to create fluid layouts easily. If you are constantly looking up how it works, this handy cheatsheet is all you need.

View File

@ -1,7 +1,8 @@
--- ---
title: Git aliases title: Git aliases
type: cheatsheet type: cheatsheet
tags: [git,configuration,cheatsheet] language: git
tags: [configuration,cheatsheet]
author: chalarangelo author: chalarangelo
cover: organizer cover: organizer
excerpt: Increase your productivity by creating aliases for many common git operations. excerpt: Increase your productivity by creating aliases for many common git operations.

View File

@ -2,7 +2,8 @@
title: "Tip: Create a commit with a different date" title: "Tip: Create a commit with a different date"
shortTitle: Create a commit with a different date shortTitle: Create a commit with a different date
type: tip type: tip
tags: [git,commit] language: git
tags: [commit]
author: chalarangelo author: chalarangelo
cover: ice cover: ice
excerpt: Ever needed to create a git commit with a different date? Here's a quick and easy way to do it. excerpt: Ever needed to create a git commit with a different date? Here's a quick and easy way to do it.

View File

@ -2,7 +2,8 @@
title: How does Git's fast-forward mode work? title: How does Git's fast-forward mode work?
shortTitle: Git fast-forward shortTitle: Git fast-forward
type: question type: question
tags: [git,branch] language: git
tags: [branch]
author: chalarangelo author: chalarangelo
cover: boats cover: boats
excerpt: Learn about Git's fast-forward mode works and its benefits when mergin branches, so you can decide if it's a good fit for you and your team. excerpt: Learn about Git's fast-forward mode works and its benefits when mergin branches, so you can decide if it's a good fit for you and your team.

View File

@ -2,7 +2,8 @@
title: "Tip: How to add multiple authors to a commit" title: "Tip: How to add multiple authors to a commit"
shortTitle: Add multiple authors to a commit shortTitle: Add multiple authors to a commit
type: tip type: tip
tags: [git,github,programming,webdev] language: git
tags: [github,programming,webdev]
author: chalarangelo author: chalarangelo
cover: book-chair cover: book-chair
excerpt: Learn how to add multiple authors to a git commit with this quick and easy tip. excerpt: Learn how to add multiple authors to a git commit with this quick and easy tip.

View File

@ -2,7 +2,8 @@
title: Recommended HTML head icon tags title: Recommended HTML head icon tags
shortTitle: HTML favicons template shortTitle: HTML favicons template
type: story type: story
tags: [webdev,html,browser] language: html
tags: [webdev,browser]
author: chalarangelo author: chalarangelo
cover: boutique-home-office-3 cover: boutique-home-office-3
excerpt: Ensure your HTML documents have a proper favicon by including these lines in your `<head>` element. excerpt: Ensure your HTML documents have a proper favicon by including these lines in your `<head>` element.

View File

@ -2,7 +2,8 @@
title: Recommended HTML head links title: Recommended HTML head links
shortTitle: HTML head links template shortTitle: HTML head links template
type: story type: story
tags: [webdev,html,browser] language: html
tags: [webdev,browser]
author: chalarangelo author: chalarangelo
cover: boutique-home-office-4 cover: boutique-home-office-4
excerpt: Make your HTML documents more SEO-friendly by including these lines in your `<head>` element. excerpt: Make your HTML documents more SEO-friendly by including these lines in your `<head>` element.

View File

@ -2,7 +2,8 @@
title: Recommended social tags for HTML head title: Recommended social tags for HTML head
shortTitle: HTML social tags template shortTitle: HTML social tags template
type: story type: story
tags: [webdev,html,browser] language: html
tags: [webdev,browser]
author: chalarangelo author: chalarangelo
cover: boutique-home-office-2 cover: boutique-home-office-2
excerpt: Ensure your HTML documents can be shared on social media by including these lines in your `<head>` element. excerpt: Ensure your HTML documents can be shared on social media by including these lines in your `<head>` element.

View File

@ -2,7 +2,8 @@
title: Recommended minimum HTML head title: Recommended minimum HTML head
shortTitle: HTML head template shortTitle: HTML head template
type: story type: story
tags: [webdev,html,browser] language: html
tags: [webdev,browser]
author: chalarangelo author: chalarangelo
cover: boutique-home-office-1 cover: boutique-home-office-1
excerpt: Ensure your HTML documents are properly structured by including these lines in your `<head>` element. excerpt: Ensure your HTML documents are properly structured by including these lines in your `<head>` element.

View File

@ -2,7 +2,8 @@
title: How can I add a key-value pair to a JavaScript object? title: How can I add a key-value pair to a JavaScript object?
shortTitle: Add key-value pair to object shortTitle: Add key-value pair to object
type: question type: question
tags: [javascript,object] language: javascript
tags: [object]
author: chalarangelo author: chalarangelo
cover: pineapple-laptop cover: pineapple-laptop
excerpt: Adding a key-value pair to a JavaScript object is straightforward, yet there are multiple ways available to do so. excerpt: Adding a key-value pair to a JavaScript object is straightforward, yet there are multiple ways available to do so.

View File

@ -2,7 +2,8 @@
title: How do I compare two arrays in JavaScript? title: How do I compare two arrays in JavaScript?
shortTitle: JavaScript array comparison shortTitle: JavaScript array comparison
type: question type: question
tags: [javascript,array,comparison] language: javascript
tags: [array,comparison]
author: chalarangelo author: chalarangelo
cover: coconuts cover: coconuts
excerpt: Learn how you can compare two arrays in JavaScript using various different techniques. excerpt: Learn how you can compare two arrays in JavaScript using various different techniques.

View File

@ -2,7 +2,8 @@
title: How can I check if a JavaScript array includes a specific value? title: How can I check if a JavaScript array includes a specific value?
shortTitle: JavaScript array includes value shortTitle: JavaScript array includes value
type: question type: question
tags: [javascript,array] language: javascript
tags: [array]
author: chalarangelo author: chalarangelo
cover: bridge-drop cover: bridge-drop
excerpt: Checking if an array includes a specific value is pretty straightforward, except when it comes to objects. excerpt: Checking if an array includes a specific value is pretty straightforward, except when it comes to objects.

View File

@ -2,7 +2,8 @@
title: Can I use an arrow function as the callback for an event listener in JavaScript? title: Can I use an arrow function as the callback for an event listener in JavaScript?
shortTitle: Arrow function as callback for event listener shortTitle: Arrow function as callback for event listener
type: question type: question
tags: [javascript,browser,event,function] language: javascript
tags: [browser,event,function]
author: chalarangelo author: chalarangelo
cover: coffee-float cover: coffee-float
excerpt: Learn the differences between JavaScript ES6 arrow functions and regular functions and how they affect event listener callbacks. excerpt: Learn the differences between JavaScript ES6 arrow functions and regular functions and how they affect event listener callbacks.

View File

@ -2,7 +2,8 @@
title: Introduction to arrow functions in JavaScript title: Introduction to arrow functions in JavaScript
shortTitle: Arrow functions introduction shortTitle: Arrow functions introduction
type: story type: story
tags: [javascript,function] language: javascript
tags: [function]
author: chalarangelo author: chalarangelo
cover: arrow-functions cover: arrow-functions
excerpt: JavaScript arrow functions are a very useful tool to learn and master. Here's a complete introduction to everything you need to know. excerpt: JavaScript arrow functions are a very useful tool to learn and master. Here's a complete introduction to everything you need to know.

View File

@ -2,7 +2,8 @@
title: What are the differences between arrow functions and regular functions in JavaScript? title: What are the differences between arrow functions and regular functions in JavaScript?
shortTitle: Arrow functions vs regular functions shortTitle: Arrow functions vs regular functions
type: question type: question
tags: [javascript,function] language: javascript
tags: [function]
author: chalarangelo author: chalarangelo
cover: fallen-leaves cover: fallen-leaves
excerpt: JavaScript's arrow functions are seemingly the same as regular functions, but there are some important differences you need to know. excerpt: JavaScript's arrow functions are seemingly the same as regular functions, but there are some important differences you need to know.

View File

@ -2,7 +2,8 @@
title: Asynchronous array loops in JavaScript title: Asynchronous array loops in JavaScript
shortTitle: Asynchronous array loops shortTitle: Asynchronous array loops
type: story type: story
tags: [javascript,array,function,promise] language: javascript
tags: [array,function,promise]
author: chalarangelo author: chalarangelo
cover: sunflowers cover: sunflowers
excerpt: Asynchronously looping over arrays in JavaScript comes with a few caveats you should watch out for. excerpt: Asynchronously looping over arrays in JavaScript comes with a few caveats you should watch out for.

View File

@ -2,7 +2,8 @@
title: How can I add a timeout to a promise in JavaScript? title: How can I add a timeout to a promise in JavaScript?
shortTitle: Promise timeout shortTitle: Promise timeout
type: question type: question
tags: [javascript,promise,timeout,class] language: javascript
tags: [promise,timeout,class]
author: chalarangelo author: chalarangelo
cover: walking cover: walking
excerpt: Oftentimes you might need to add a timeout to a promise in JavaScript. Learn how to do this and more in this short guide. excerpt: Oftentimes you might need to add a timeout to a promise in JavaScript. Learn how to do this and more in this short guide.

View File

@ -2,7 +2,8 @@
title: How can I check for a blank value in JavaScript? title: How can I check for a blank value in JavaScript?
shortTitle: Value is blank shortTitle: Value is blank
type: question type: question
tags: [javascript,type] language: javascript
tags: [type]
author: chalarangelo author: chalarangelo
cover: workspace-with-speaker cover: workspace-with-speaker
excerpt: JavaScript doesn't have a built-in way to check if a value is blank, but it's easy to create one. excerpt: JavaScript doesn't have a built-in way to check if a value is blank, but it's easy to create one.

View File

@ -2,7 +2,8 @@
title: Where and how can I use the Boolean function in JavaScript? title: Where and how can I use the Boolean function in JavaScript?
shortTitle: Boolean function use-cases shortTitle: Boolean function use-cases
type: question type: question
tags: [javascript,function,type] language: javascript
tags: [function,type]
author: chalarangelo author: chalarangelo
cover: rocky-lake cover: rocky-lake
excerpt: JavaScript's Boolean function can be used for truth-checking data among other things. Learn how to use it and level up your code today. excerpt: JavaScript's Boolean function can be used for truth-checking data among other things. Learn how to use it and level up your code today.

View File

@ -2,7 +2,8 @@
title: Boolean traps and how to avoid them title: Boolean traps and how to avoid them
shortTitle: Boolean traps shortTitle: Boolean traps
type: story type: story
tags: [javascript,function,type,boolean] language: javascript
tags: [function,type,boolean]
author: chalarangelo author: chalarangelo
cover: lighthouse cover: lighthouse
excerpt: Boolean traps can cause readability and maintainability issues in your code. Learn what they are, how to spot and fix them in this article. excerpt: Boolean traps can cause readability and maintainability issues in your code. Learn what they are, how to spot and fix them in this article.

View File

@ -2,7 +2,8 @@
title: A cautionary tale about JavaScript callbacks title: A cautionary tale about JavaScript callbacks
shortTitle: Callback pitfalls shortTitle: Callback pitfalls
type: story type: story
tags: [javascript,function] language: javascript
tags: [function]
author: chalarangelo author: chalarangelo
cover: rabbit-call cover: rabbit-call
excerpt: JavaScript callbacks are especially tricky when you're not careful. Take a deeper dive into potential issues and how to avoid them. excerpt: JavaScript callbacks are especially tricky when you're not careful. Take a deeper dive into potential issues and how to avoid them.

View File

@ -2,7 +2,8 @@
title: How does JavaScript's prototypal inheritance differ from classical inheritance? title: How does JavaScript's prototypal inheritance differ from classical inheritance?
shortTitle: Prototypal vs classical inheritance shortTitle: Prototypal vs classical inheritance
type: question type: question
tags: [javascript,object,class] language: javascript
tags: [object,class]
author: chalarangelo author: chalarangelo
cover: last-light cover: last-light
excerpt: Understanding the difference between these two object-oriented programming paradigms is key to taking your skills to the next level. excerpt: Understanding the difference between these two object-oriented programming paradigms is key to taking your skills to the next level.

View File

@ -2,7 +2,8 @@
title: What are JavaScript closures? title: What are JavaScript closures?
shortTitle: Closures introduction shortTitle: Closures introduction
type: question type: question
tags: [javascript,function,closure] language: javascript
tags: [function,closure]
author: chalarangelo author: chalarangelo
cover: cherry-trees cover: cherry-trees
excerpt: Learn and understand closures, a core concept in JavaScript programming, and level up your code. excerpt: Learn and understand closures, a core concept in JavaScript programming, and level up your code.

View File

@ -2,7 +2,8 @@
title: How can I clone an array in JavaScript? title: How can I clone an array in JavaScript?
shortTitle: Clone an array shortTitle: Clone an array
type: question type: question
tags: [javascript,array] language: javascript
tags: [array]
author: chalarangelo author: chalarangelo
cover: colorful-plastic cover: colorful-plastic
excerpt: Pick up a few new tricks which you can use to clone arrays in JavaScript. excerpt: Pick up a few new tricks which you can use to clone arrays in JavaScript.

View File

@ -2,7 +2,8 @@
title: How do I compare two dates in JavaScript? title: How do I compare two dates in JavaScript?
shortTitle: Date comparison shortTitle: Date comparison
type: question type: question
tags: [javascript,date,comparison] language: javascript
tags: [date,comparison]
author: chalarangelo author: chalarangelo
cover: pineapple-at-work cover: pineapple-at-work
excerpt: Learn how you can compare two dates in JavaScript using various different techniques. excerpt: Learn how you can compare two dates in JavaScript using various different techniques.

View File

@ -2,7 +2,8 @@
title: How can I deep freeze an object in JavaScript? title: How can I deep freeze an object in JavaScript?
shortTitle: Deep freeze object shortTitle: Deep freeze object
type: question type: question
tags: [javascript,object] language: javascript
tags: [object]
author: chalarangelo author: chalarangelo
cover: frozen-globe cover: frozen-globe
excerpt: Learn how mutability works in JavaScript, its applications to objects and how you can properly freeze them to make them constant. excerpt: Learn how mutability works in JavaScript, its applications to objects and how you can properly freeze them to make them constant.

View File

@ -2,7 +2,8 @@
title: Where and how can I use the destructuring assignment syntax in JavaScript? title: Where and how can I use the destructuring assignment syntax in JavaScript?
shortTitle: Destructuring assignment introduction shortTitle: Destructuring assignment introduction
type: question type: question
tags: [javascript,array,object] language: javascript
tags: [array,object]
author: chalarangelo author: chalarangelo
cover: building-blocks cover: building-blocks
excerpt: Learn the basics of the destructuring assignment syntax in JavaScript ES6 and improve your code with this easy guide. excerpt: Learn the basics of the destructuring assignment syntax in JavaScript ES6 and improve your code with this easy guide.

View File

@ -2,7 +2,8 @@
title: How do I empty an array in JavaScript? title: How do I empty an array in JavaScript?
shortTitle: Empty an array shortTitle: Empty an array
type: question type: question
tags: [javascript,array] language: javascript
tags: [array]
author: chalarangelo author: chalarangelo
cover: coconuts cover: coconuts
excerpt: You can use a lot of different techniques to empty an array in JavaScript. See which ones best suits your needs with this quick guide. excerpt: You can use a lot of different techniques to empty an array in JavaScript. See which ones best suits your needs with this quick guide.

View File

@ -2,7 +2,8 @@
title: What is the difference between encodeURI() and encodeURIComponent() in JavaScript? title: What is the difference between encodeURI() and encodeURIComponent() in JavaScript?
shortTitle: encodeURI() vs encodeURIComponent() shortTitle: encodeURI() vs encodeURIComponent()
type: question type: question
tags: [javascript,browser] language: javascript
tags: [browser]
author: chalarangelo author: chalarangelo
cover: laptop-view cover: laptop-view
excerpt: JavaScript provides two methods for encoding characters to URL-safe strings. Do you know when to use each one? excerpt: JavaScript provides two methods for encoding characters to URL-safe strings. Do you know when to use each one?

View File

@ -2,7 +2,8 @@
title: How can I define an enum in JavaScript? title: How can I define an enum in JavaScript?
shortTitle: Enum implementation shortTitle: Enum implementation
type: question type: question
tags: [javascript,object,class,symbol,generator] language: javascript
tags: [object,class,symbol,generator]
author: chalarangelo author: chalarangelo
cover: book-chair cover: book-chair
excerpt: Enums are part of TypeScript, but what about defining enums in plain old JavaScript? Here are a few way you can do that. excerpt: Enums are part of TypeScript, but what about defining enums in plain old JavaScript? Here are a few way you can do that.

View File

@ -2,7 +2,8 @@
title: What is the difference between JavaScript's equality operators? title: What is the difference between JavaScript's equality operators?
shortTitle: JavaScript equality operators shortTitle: JavaScript equality operators
type: question type: question
tags: [javascript,type,comparison] language: javascript
tags: [type,comparison]
author: chalarangelo author: chalarangelo
cover: beach-pineapple cover: beach-pineapple
excerpt: Learn all you need to know about the differences between JavaScript's double equals and triple equals operators. excerpt: Learn all you need to know about the differences between JavaScript's double equals and triple equals operators.

View File

@ -2,7 +2,8 @@
title: Understanding event bubbling, capturing and delegation in JavaScript title: Understanding event bubbling, capturing and delegation in JavaScript
shortTitle: Event bubbling, capturing and delegation shortTitle: Event bubbling, capturing and delegation
type: story type: story
tags: [javascript,browser,event] language: javascript
tags: [browser,event]
author: chalarangelo author: chalarangelo
cover: fishermen cover: fishermen
excerpt: Understand how events work in JavaScript and learn when to use event bubbling, event capturing and event delegation with this short guide. excerpt: Understand how events work in JavaScript and learn when to use event bubbling, event capturing and event delegation with this short guide.

View File

@ -2,7 +2,8 @@
title: What is the Event Loop in JavaScript? title: What is the Event Loop in JavaScript?
shortTitle: Event loop explained shortTitle: Event loop explained
type: question type: question
tags: [javascript,browser,event] language: javascript
tags: [browser,event]
author: chalarangelo author: chalarangelo
cover: tranquility cover: tranquility
excerpt: The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine. excerpt: The Event Loop is a source of confusion for many developers, but it's a fundamental piece of the JavaScript engine.

View File

@ -2,7 +2,8 @@
title: Are JavaScript closures inherently evil? title: Are JavaScript closures inherently evil?
shortTitle: Closures and hidden state shortTitle: Closures and hidden state
type: story type: story
tags: [javascript,function,closure] language: javascript
tags: [function,closure]
author: chalarangelo author: chalarangelo
cover: silver-flat-screen cover: silver-flat-screen
excerpt: Closures are used frequently, yet often misunderstood. Understanding them in depth is crucial to be able to write clean, maintainable code. excerpt: Closures are used frequently, yet often misunderstood. Understanding them in depth is crucial to be able to write clean, maintainable code.

View File

@ -2,7 +2,8 @@
title: What is the difference between an expression and a statement in JavaScript? title: What is the difference between an expression and a statement in JavaScript?
shortTitle: Expressions and statements shortTitle: Expressions and statements
type: question type: question
tags: [javascript,type] language: javascript
tags: [type]
author: chalarangelo author: chalarangelo
cover: forest-balcony cover: forest-balcony
excerpt: JavaScript distinguishes expressions and statements. Learn their differences in this short article. excerpt: JavaScript distinguishes expressions and statements. Learn their differences in this short article.

View File

@ -2,7 +2,8 @@
title: What is the difference between JavaScript's for...in, for...of and forEach? title: What is the difference between JavaScript's for...in, for...of and forEach?
shortTitle: JavaScript iteration methods comparison shortTitle: JavaScript iteration methods comparison
type: question type: question
tags: [javascript,array,object,iterator] language: javascript
tags: [array,object,iterator]
author: chalarangelo author: chalarangelo
cover: lake-loop cover: lake-loop
excerpt: Learn the differences between the three most commonly used iteration methods in JavaScript, that often confuse beginners and veterans alike. excerpt: Learn the differences between the three most commonly used iteration methods in JavaScript, that often confuse beginners and veterans alike.

View File

@ -2,7 +2,8 @@
title: "Tip: Use JavaScript for loops if you need to break out early" title: "Tip: Use JavaScript for loops if you need to break out early"
shortTitle: For loops for early breaking shortTitle: For loops for early breaking
type: tip type: tip
tags: [javascript,array,loop] language: javascript
tags: [array,loop]
author: chalarangelo author: chalarangelo
cover: armchair cover: armchair
excerpt: Iteration in JavaScript can be done a handfuld of ways, most often using array methods, but sometimes a `for` loop is the best option. excerpt: Iteration in JavaScript can be done a handfuld of ways, most often using array methods, but sometimes a `for` loop is the best option.

View File

@ -2,7 +2,8 @@
title: JavaScript function methods - call(), apply() and bind() title: JavaScript function methods - call(), apply() and bind()
shortTitle: Function methods - call(), apply() and bind() shortTitle: Function methods - call(), apply() and bind()
type: story type: story
tags: [javascript,function] language: javascript
tags: [function]
author: chalarangelo author: chalarangelo
cover: canoe cover: canoe
excerpt: Learn everything you need to know about JavaScript's `call()`, `apply()` and `bind()` in this short guide. excerpt: Learn everything you need to know about JavaScript's `call()`, `apply()` and `bind()` in this short guide.

View File

@ -2,7 +2,8 @@
title: Understanding higher-order functions in JavaScript title: Understanding higher-order functions in JavaScript
shortTitle: Higher-order functions shortTitle: Higher-order functions
type: story type: story
tags: [javascript,function] language: javascript
tags: [function]
author: chalarangelo author: chalarangelo
cover: rock-climbing cover: rock-climbing
excerpt: Learn everything you need to know about higher-order functions with this short guide and level up your programming skills. excerpt: Learn everything you need to know about higher-order functions with this short guide and level up your programming skills.

View File

@ -2,7 +2,8 @@
title: What is an IIFE in JavaScript? title: What is an IIFE in JavaScript?
shortTitle: IIFE introduction shortTitle: IIFE introduction
type: question type: question
tags: [javascript,function] language: javascript
tags: [function]
author: chalarangelo author: chalarangelo
cover: tropical-waterfall cover: tropical-waterfall
excerpt: An Immediately Invoked Function Expression (IIFE) is a JavaScript trick that trips up many developers. Here's what you need to know. excerpt: An Immediately Invoked Function Expression (IIFE) is a JavaScript trick that trips up many developers. Here's what you need to know.

View File

@ -2,7 +2,8 @@
title: "Tip: Get the index of an array item in a JavaScript for...of loop" title: "Tip: Get the index of an array item in a JavaScript for...of loop"
shortTitle: Array index in for...of loops shortTitle: Array index in for...of loops
type: tip type: tip
tags: [javascript,array,iterator] language: javascript
tags: [array,iterator]
author: chalarangelo author: chalarangelo
cover: cave-view cover: cave-view
excerpt: Did you know you can get the index of an array item in a JavaScript for...of loop? Learn how with this bite-sized tip. excerpt: Did you know you can get the index of an array item in a JavaScript for...of loop? Learn how with this bite-sized tip.

View File

@ -2,7 +2,8 @@
title: How do I convert an iterable to an array in JavaScript? title: How do I convert an iterable to an array in JavaScript?
shortTitle: Iterable to array shortTitle: Iterable to array
type: question type: question
tags: [javascript,object,array,string] language: javascript
tags: [object,array,string]
author: chalarangelo author: chalarangelo
cover: waves cover: waves
excerpt: Learn how to use the JavaScript ES6 spread syntax to converting iterables to arrays and level up your code today. excerpt: Learn how to use the JavaScript ES6 spread syntax to converting iterables to arrays and level up your code today.

View File

@ -2,7 +2,8 @@
title: What are JavaScript Iterators and where can I use them? title: What are JavaScript Iterators and where can I use them?
shortTitle: JavaScript iterators introduction shortTitle: JavaScript iterators introduction
type: question type: question
tags: [javascript,array,object,iterator] language: javascript
tags: [array,object,iterator]
author: chalarangelo author: chalarangelo
cover: balloons cover: balloons
excerpt: Learn how JavaScript's iterators work and how you can use them to level up your projects by understanding these short code examples. excerpt: Learn how JavaScript's iterators work and how you can use them to level up your projects by understanding these short code examples.

View File

@ -2,7 +2,8 @@
title: "Tip: Serialize specific properties from a JSON object" title: "Tip: Serialize specific properties from a JSON object"
shortTitle: Selective property serialization shortTitle: Selective property serialization
type: tip type: tip
tags: [javascript,object,json] language: javascript
tags: [object,json]
author: chalarangelo author: chalarangelo
cover: coffee-drip cover: coffee-drip
excerpt: Have you ever wanted to serialize an object but only include certain keys? Turns out JavaScript provides an easy way to do this! excerpt: Have you ever wanted to serialize an object but only include certain keys? Turns out JavaScript provides an easy way to do this!

View File

@ -2,7 +2,8 @@
title: How can I execute an event handler at most once? title: How can I execute an event handler at most once?
shortTitle: Execute event handler only once shortTitle: Execute event handler only once
type: question type: question
tags: [javascript,browser,event] language: javascript
tags: [browser,event]
cover: dog-waiting cover: dog-waiting
excerpt: Learn how to attach an event handler to events that is executed at most once in this JavaScript article. excerpt: Learn how to attach an event handler to events that is executed at most once in this JavaScript article.
dateModified: 2021-06-12T19:30:41+03:00 dateModified: 2021-06-12T19:30:41+03:00

View File

@ -2,7 +2,8 @@
title: "Tip: Make any JavaScript value iterable" title: "Tip: Make any JavaScript value iterable"
shortTitle: Make any value iterable shortTitle: Make any value iterable
type: tip type: tip
tags: [javascript,array,iterator,generator] language: javascript
tags: [array,iterator,generator]
author: chalarangelo author: chalarangelo
cover: colorful-plastic cover: colorful-plastic
excerpt: Did you know you can define an iterator for any JavaScript value? This quick tip will show you how. excerpt: Did you know you can define an iterator for any JavaScript value? This quick tip will show you how.

View File

@ -2,7 +2,8 @@
title: Where and how can I use memoization in JavaScript? title: Where and how can I use memoization in JavaScript?
shortTitle: Memoization introduction shortTitle: Memoization introduction
type: question type: question
tags: [javascript,function,memoization] language: javascript
tags: [function,memoization]
author: chalarangelo author: chalarangelo
cover: cherry-trees cover: cherry-trees
excerpt: Learn different ways to memoize function calls in JavaScript as well as when to use memoization to get the best performance results. excerpt: Learn different ways to memoize function calls in JavaScript as well as when to use memoization to get the best performance results.

View File

@ -2,7 +2,8 @@
title: How do I merge two arrays in JavaScript? title: How do I merge two arrays in JavaScript?
shortTitle: Merge arrays shortTitle: Merge arrays
type: question type: question
tags: [javascript,array] language: javascript
tags: [array]
author: chalarangelo author: chalarangelo
cover: arrays cover: arrays
excerpt: Arrays are one of the most used data types in any programming language. Learn how to merge two arrays in JavaScript with this short guide. excerpt: Arrays are one of the most used data types in any programming language. Learn how to merge two arrays in JavaScript with this short guide.

View File

@ -2,7 +2,8 @@
title: How do I use JavaScript to modify the URL without reloading the page? title: How do I use JavaScript to modify the URL without reloading the page?
shortTitle: Modify URL without reloading shortTitle: Modify URL without reloading
type: question type: question
tags: [javascript,browser] language: javascript
tags: [browser]
author: chalarangelo author: chalarangelo
cover: compass cover: compass
excerpt: Learn all of the options JavaScript provides for modifying the URL of the current page in the browser without reloading the page. excerpt: Learn all of the options JavaScript provides for modifying the URL of the current page in the browser without reloading the page.

View File

@ -1,7 +1,8 @@
--- ---
title: JavaScript modules Cheat Sheet title: JavaScript modules Cheat Sheet
type: cheatsheet type: cheatsheet
tags: [javascript,cheatsheet] language: javascript
tags: [cheatsheet]
author: chalarangelo author: chalarangelo
cover: mountain-lake-2 cover: mountain-lake-2
excerpt: Learn everything you need to know about JavaScript modules with this handy cheatsheet. excerpt: Learn everything you need to know about JavaScript modules with this handy cheatsheet.

View File

@ -2,7 +2,8 @@
title: JavaScript naming conventions title: JavaScript naming conventions
shortTitle: Naming conventions shortTitle: Naming conventions
type: story type: story
tags: [javascript,variable,cheatsheet] language: javascript
tags: [variable,cheatsheet]
author: chalarangelo author: chalarangelo
cover: naming-conventions cover: naming-conventions
excerpt: Naming conventions make code easier to read and understand. Learn how to name your variables in JavaScript with this handy guide. excerpt: Naming conventions make code easier to read and understand. Learn how to name your variables in JavaScript with this handy guide.

View File

@ -2,7 +2,8 @@
title: How can I use optional chaining and nullish coalescing in my JavaScript project? title: How can I use optional chaining and nullish coalescing in my JavaScript project?
shortTitle: Optional chaining and nullish coalescing shortTitle: Optional chaining and nullish coalescing
type: question type: question
tags: [javascript,type] language: javascript
tags: [type]
author: chalarangelo author: chalarangelo
cover: purple-leaves cover: purple-leaves
excerpt: JavaScript ES2020 introduced optional chaining and nullish coalescing. Learn everything you need to know with this quick guide. excerpt: JavaScript ES2020 introduced optional chaining and nullish coalescing. Learn everything you need to know with this quick guide.

View File

@ -2,7 +2,8 @@
title: JavaScript's numeric separators explained title: JavaScript's numeric separators explained
shortTitle: Numeric separators explained shortTitle: Numeric separators explained
type: story type: story
tags: [javascript,math,type] language: javascript
tags: [math,type]
author: chalarangelo author: chalarangelo
cover: coffee-drip cover: coffee-drip
excerpt: Numeric separators are a somewhat lesser-known JavaScript syntactic sugar that can make working with large constants a lot easier. excerpt: Numeric separators are a somewhat lesser-known JavaScript syntactic sugar that can make working with large constants a lot easier.

View File

@ -2,7 +2,8 @@
title: Can I use an object as an array without modifying it in JavaScript? title: Can I use an object as an array without modifying it in JavaScript?
shortTitle: Object as array shortTitle: Object as array
type: question type: question
tags: [javascript,object,array,proxy,iterator,pattern] language: javascript
tags: [object,array,proxy,iterator,pattern]
author: chalarangelo author: chalarangelo
cover: birds cover: birds
excerpt: Learn how you can leverage the Proxy object to use a JavaScript object the same way as you would use a regular array. excerpt: Learn how you can leverage the Proxy object to use a JavaScript object the same way as you would use a regular array.

View File

@ -2,7 +2,8 @@
title: How do I compare two objects in JavaScript? title: How do I compare two objects in JavaScript?
shortTitle: Object comparison shortTitle: Object comparison
type: question type: question
tags: [javascript,object,comparison] language: javascript
tags: [object,comparison]
author: chalarangelo author: chalarangelo
cover: blue-lake cover: blue-lake
excerpt: Learn how you can compare two objects in JavaScript using various different techniques. excerpt: Learn how you can compare two objects in JavaScript using various different techniques.

View File

@ -2,7 +2,8 @@
title: What's the difference between Object.is() and the triple equals operator in JavaScript? title: What's the difference between Object.is() and the triple equals operator in JavaScript?
shortTitle: Object.is() vs triple equals operator shortTitle: Object.is() vs triple equals operator
type: question type: question
tags: [javascript,object,type] language: javascript
tags: [object,type]
author: chalarangelo author: chalarangelo
cover: rocky-mountains cover: rocky-mountains
excerpt: "`Object.is()` and the triple equals operator (`===`) can both be used for equality checking in JavaScript, but when should you use each one?" excerpt: "`Object.is()` and the triple equals operator (`===`) can both be used for equality checking in JavaScript, but when should you use each one?"

View File

@ -2,7 +2,8 @@
title: Is JavaScript pass-by-value or pass-by-reference? title: Is JavaScript pass-by-value or pass-by-reference?
shortTitle: Pass-by-value or pass-by-reference shortTitle: Pass-by-value or pass-by-reference
type: question type: question
tags: [javascript,function,object] language: javascript
tags: [function,object]
author: chalarangelo author: chalarangelo
cover: baloons-field cover: baloons-field
excerpt: How JavaScript handles passing data is a source of confusion and bugs for many developers, especially when it comes to object types. excerpt: How JavaScript handles passing data is a source of confusion and bugs for many developers, especially when it comes to object types.

Some files were not shown because too many files have changed in this diff Show More