Search

Nalezeno "Tips": 750

How To Make Short Work Of Any Enemy In Assassin’s Creed Valhalla


Assassin’s Creed Valhalla isn’t a difficult game. If you venture at all off the beaten path, you’ll quickly accrue enough experience and gain enough Power levels to become an unstoppable Viking tank. Still, some boss fights—and other high-level enemies, like zealots—can be a pain. That is, unless...

Holy Cayde-6, You Can Buy Back Your Old Colors In Destiny 2


Earlier today, I wrote about how I’ve been playing a whole lot of Destiny 2 these days. I messed around with Bungie’s hilariously good-vs.-evil shooter at launch, then dipped out. Returning after a few years away for the recent Beyond Light expansion meant reacquainting myself with a whole lot...

How To Chip Away At A Massive Games Backlog


It’s called a backlog—that long list of games you’ll “get to someday” but ignore in favor of re-running Hades yet again. Maybe yours recently swelled as a result of irresistible Black Friday or Cyber Monday deals. Maybe it’ll grow even more over the coming holidays. Whatever the case, a gargantuan...

Use a Submit Button Outside of !


Have you ever felt like you’ve been a professional developer or designer forever, and somehow not known something basic, and borderline hate yourself? That’s me with a trick that was introduced to me by Miguel Piedrafita: 🔥 You can submit forms from a button outside of the form...

Detect Generator Functions with JavaScript


In the current JavaScript climate of new syntaxes, features, and using loads of external libraries, it seems harder than ever to be sure what your functions are being given or even what the data represents. Of course, we’ve come up with Flow and TypeScript to help, but we can’t count...

git: Remove Untracked Files


I’ve always said that I know just enough about git to get the job done, but also do something destructive. Nothing embodies that more than my recent mistake. I somehow found a git repository full of untracked files and git stash wouldn’t fix it. Desperation led me to learning how...

Node isConnected


Every so often I discover a property in JavaScript objects that I didn’t know existed, oftentimes using another trick to accomplish the same functionality. One such property I just learned about was isConnected, a node property that attached to a context (i.e. document). Here’s how...

How to Prevent Pasting into an Input


Every once in a while I get to a website that doesn’t allow me to paste into a form input. In most cases it’s something to do with login credentials (username and or password) and auth codes. So how are they preventing me from pasting information? It’s as easy as you’d...

How to Conditionally Add Attributes to Objects


JavaScript is full of tricks that you don’t know you want until you … want … them. Or maybe just until you see them. One trick I recently realized was conditionally adding attributes to React elements. Of course this trick essentially boils down to conditionally adding properties...

How to Create an Async Function


One thing I love about JavaScript is that there are many ways to accomplish the same task, one such example being creating functions. There are several patterns for functions; one of the last you see used is the new Function method: /* new Function(arg1, arg2 (...), body) */ const myFunction =...

Remove the Search Input Clear(x) Icon


I really appreciate the amount of different <input> elements we’ve received over the past decade. These elements don’t just bring a new semantic advantage, but also provide UI helpers, which in many cases are useful. In a recent case, I found a UI element not useful: the x (clear)...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace