Helpful Front-end Snips ✂️

Instagram account I setup to share front-end code snippets.

✂️ CSS TIP: Mac Dark Mode media queries (currently in Safari Tech Preview)

✂️ ES6 TIP: Total up the instances of items in an array

✂️ ES6 TIP: Create utility functions by using static methods, used without instantiating their class

✂️ ES6 TIP: Super easy and clean JS templates with template literals!

✂️ ES6 TIP: Often forgotten … Use ‘tagged template literals’ to run a template string through a function

✂️ ES6 TIP: console.log passed value, when using implicit arrow function return

✂️ CSS TIP: Full width div inside fixed width container

✂️ CSS TIP: Hide a HTML element when there is no content inside

🛠️ with ❤️ by Ash Hitchcock © 2020 | Uses