local css variable ?
Display none => block transition example
picking arrow functions vs regular functions
setTimeout
mainly seen to use arrow functions not regular? e.g.
```js
setTimeout(() => {
console.log("xyz");
}, 1000);...Responsive Canvas in Flexbox Container
list or no list for nav links

Centering a div vertically... (Kevin's shape-outside video)
display:block
?...
Menu hover animation.

use cases for arrow functions inheriting their this value
this
value of arrow functions equates to the parent scope, i don't understand how that could be useful? For example, if i defined an arrow function in an object below that utilized the this
keyword, how would i benefit from it being equal to the window object? (i'm aware if i want that behaviour then to use a regular function of course but the concept confuses me)
```js
const myObject = {
arrowExample: () => {
console.log(this) // Window...What is a good workflow for developing response frontend apps for web+mobile?
Need Help with Multi Step Form Submission - specifically handlePreviousStep Function()
CSS Scalloped Border
What's wrong with my JS code here?
How do I implement this animation with GSAP π
transferring the "this" value to a function
this.
variable. When i call that function inside of a function outside of the class it works, however when i call that function as a callback, it can't find the this
value and i have to use .bind
(i'm sure call
and apply
could potentially be used too) to allow it to work, since the callback parameter has the function as the value, i don't understand what causes that error compared to straight up calling it.
i'd appreciate any help, thanks in advance.
https://codepen.io/deerCabin/pen/RNbQvbd...class logic questions
this.
variable inside of a function, why can i use it outside of the function globally within the class? I understand it's because it uses this.
and that refers to the object but that defies the regular logic of how that would work, is that specific functionality for this
or classes? (example: https://codepen.io/deerCabin/pen/xbKYQPG)
2) Why don't i need to use const
or var
when defining this.
variables?...How do I make an animation where a div goes from height: 0px; to [its regular height]?
CSS how did he do that?

use cases for a closed shadow dom
shadowRoot
method e.g.
```js
const element = document.querySelector("...");
element.attatchShadow({mode: "closed"});
...