For the entire month of December, I posted DAILY code tidbits! 30 days straight of the very best JavaScript, HTML, and CSS snippets.

I posted this series on my Instagram and Twitter. Don’t worry if you missed it! Here’s the summary of all 30 Code Tidbits. Make sure you scroll to the end where I also included code notes. Enjoy! 🎁

Code Notes

Day 1 🎄

2 Methods to Convert to true Array

Day 2 🎄

ES6: Shorthand for Defining Methods in Objects

Day 3 🎄

ES6: Creating Objects with Dynamic Keys

Day 4 🎄

Remove Array Duplicates using ES6 Set

Day 5 🎄

Split String using ES6 Spread

Day 6 🎄

Use console.table instead to display your data

Day 7 🎄

Combine Multiple Arrays using ES6 Spread

Day 8 🎄

CSS Custom Selection Styling

Day 9 🎄

Named Parameters using ES6 Destructured Objects

Day 10 🎄

Setting Default Parameters

Day 11 🎄

JS Essentials: Falsy Values

Day 12 🎄

Refactoring the if condition

Day 13 🎄

Checking if String contains Substring

Day 14 🎄

How to Compare 2 Objects in JavaScript

Day 15 🎄

Better Boolean Variable Names

Day 16 🎄

Bad Variable Names to Avoid

Day 17 🎄

ES6 Way to Clone an Array

Day 18 🎄

Make a HTML element editable with contenteditable

Day 19 🎄

Dynamic Property Name with ES6

Day 20 🎄

No Else Return

Day 21 🎄

No Useless Escape

Day 22 🎄

CSS Caret Color

Day 23 🎄

Colorful Console Message

Day 24 🎄

Refactor if-else with Ternary Operator (No code notes)

Day 25 🎄

String toUpperCase()(No code notes)

Day 26 🎄

while loop (No code notes)

Day 27 🎄

Create a Downloadable Link using HTML5 Download Attribute

Day 28 🎄

JavaScript: 3 Ways to Convert to Boolean

Day 29 🎄

2 Ways to Repeat Strings in JavaScript

Day 30 🎄

4 Ways to Combine Strings in JavaScript

That’s a wrap! I hope you enjoyed this #CodeTidbits30 daily series that I posted on my Instagram and Twitter.

What’s next?

I have a lot of exciting articles and programming posts coming, so make sure you stay tuned!

Weekly Code Tidbits will return on my Instagram and Twitter. And of course, don’t forget to Follow me on Medium to get the more in-depth code notes 🍎

Thanks for reading ❤

Say Hello! Instagram | Facebook | Twitter | SamanthaMing.com | Blog