Category: JavaScript
-
Ternary Operator
Inline if this then that else this other thing. Handy when you need to do this sort of thing in a template literal.
-
Find that element that goes off page
If an element on the page is wider than the document, it’ll get logged to the console.
-
Javascript OOP
Javascript Object Oriented Programming basic setup. And I’m using jQuery because, why not? It’s already in WordPress, anyway.