Search

Nalezeno "Auto": 4759

Customizing HTML Form Validation


Form validation has always been my least favorite part of web development. You need to duplicate validation on both client and server sides, handle loads of events, and worry about form element styling. To aid form validation, the HTML spec added some new form attributes like required and pattern...

How to Determine a JavaScript Promise’s Status


Promises have changed the landscape of JavaScript. Many old APIs have been reincarnated to use Promises (XHR to fetch, Battery API), while new APIs trend toward Promises. Developers can use async/await to handle promises, or then/catch/finally with callbacks, but what Promises don’t tell...

Detect XR Support with JavaScript


A few years ago I wrote an article about how to detect VR support with JavaScript. Since that time, a whole lot has changed. “Augmented reality” became a thing and terminology has moved to “XR”, instead of VR or AR. As such, the API has needed to evolve. The presence...

Document.elementFromPoint


Reacting to events with JavaScript is the foundation of a dynamic experiences on the web. Whether it’s a click event or another typical action, responding to that action is important. We started with assigning events to specific elements, then moved to event delegation for efficiency, but...

Detect Browser Bars Visibility with JavaScript


It’s one thing to know about what’s in the browser document, it’s another to have insight as to the user’s browser itself. We’ve gotten past detecting which browser the user is using, and we’re now into knowing what pieces of the browser UI users are seeing....

JavaScript print Events


Media queries provide a great way to programmatically change behavior depending on viewing state. We can target styles to device, pixel ratio, screen size, and even print. That said, it’s also nice to have JavaScript events that also allow us to change behavior. Did you know you’re...

Auto Compounding for APE token staking now live on ParaSpace


ParaSpace recently announced the integration of auto compounding for APE tokens staking on the platform. Now, ParaSpace users can access compounded APY rates for three pools. These pools are APE tokens (282%), MAYC pool (466%), and BAYC pool (435%.) The platform will also cover the gas fees...

How to Control CSS Animations with JavaScript


When it comes to animations on the web, developers need to measure the animation’s requirements with the right technology — CSS or JavaScript. Many animations are manageable with CSS but JavaScript will always provide more control. With document.getAnimations, however, you can...

Detecting Fonts Ready


Knowing when resources are loaded is a key part of building functional, elegant websites. We’re used to using the DOMContentLoaded event (commonly referred to as “domready”) but did you know there’s an event that tells you when all fonts have loaded? Let’s learn how...

Jak vznikalo první GTA? Autoři nevěřili v úspěch


Když před 25 lety vyšel první díl série Grand Theft Auto, autoři svému výtvoru moc nevěřili. Ti se nyní nemohou ani shodnout na tom, jak hra vznikala, vzhledem k jejímu stáří. Tak či onak vznikla jedna z nejúspěšnějších herních značek

Ranking All The Grand Theft Auto Games, From Worst To Best


The Grand Theft Auto franchise has been around for two decades now, and the series includes over a dozen titles. Some GTA games are excellent, others...not so much. Let’s take a moment to rank every GTA game, from worst to best.Read more

NFTs, Crypto Banned From GTA Online Servers


An update to publisher Take-Two’s “legal enforcement policy” for Grand Theft Auto Online was made late last week, which sought to clarify a whole bunch of boring legal and rights stuff, but which is also specifically cracking down on the sales of NFTs within the game.Read more

How to Internationalize Numbers with JavaScript


Presenting numbers in a readable format takes many forms, from visual charts to simply adding punctuation. Those punctuation, however, are different based on internationalization. Some countries use , for decimal, while others use .. Worried about having to code for all this madness? Don’t...

There Could’ve Been A GTA Film With Eminem, But Rockstar Was Like ‘Nah’


The games industry is incredibly secretive, but that never stops folks from eventually spilling all the tea on the behind-the-scenes shenanigans at some of the biggest studios. Case in point: Did you know Rockstar Games once turned down a Grand Theft Auto film that would’ve starred rapper Marshall...

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