Search
5 Web Design Trends for 2023 That You Should Pay Attention To (Sponsored)
17.1.2023
The start of a new year is usually a time when we start looking for ways to make something a little better. That something could be our life, work, or what we produce. Web designers, for example, might look for ways to make their designs more interesting or effective. In this post we will focus...
fetch with Timeout
16.1.2023
A few years back I wrote a blog post about how write a fetch Promise that times out. The function was effective but the code wasn’t great, mostly because AbortController , which allows you to cancel a fetch Promise, did not yet exist. With AbortController and AbortSignal available...
Sandeep Nailwal-backed Web3 accelerator launches demo day for first cohort
10.1.2023
The Web3 developer program received interest from over 1,000 projects but only 15 were selected for Cohort 0
Customizing HTML Form Validation
9.1.2023
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...
Vyzkoušejte na Switchi demo na Sonic Frontiers
6.1.2023
How to Determine a JavaScript Promise’s Status
3.1.2023
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
2.1.2023
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
30.12.2022
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
30.12.2022
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
30.12.2022
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...
How to Control CSS Animations with JavaScript
27.12.2022
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
26.12.2022
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...
Další průšvih na obzoru? Demo Forspoken je spíš varování než reklama
19.12.2022
Konečně jsme dostali možnost zahrát si několikrát odloženou hru Forspoken, příliš radosti nám to ale neudělalo. Její svět je prázdný, souboje nenápadité a grafika zdaleka nevypadá tak dobře jako v prvních trailerech
Další průšvih na obzoru? Demo Forspoken je spíš varování než reklama
19.12.2022
Konečně jsme dostali možnost zahrát si několikrát odloženou hru Forspoken, příliš radosti nám to ale neudělalo. Její svět je prázdný, souboje nenápadité a grafika zdaleka nevypadá tak dobře jako v prvních trailerech
Máte PlayStation 5? Ochutnejte demo Forspoken
9.12.2022
This AI chatbot is either an exploiter's dream or their nightmare
2.12.2022
The crypto community has come across an AI-powered chatbot that can be used to audit smart contracts and expose vulnerabilities
Awesome Demos Roundup #22
26.11.2022
The latest collection of the most creative and inspiring demos and code experiments from around the web
12 Extraordinary Games You'll Want On Your Wishlist Straight Away
25.11.2022
It’s Black Friday, the day on which the entirety of planet Earth entirely takes leaves of its senses and spends all its money on stuff it doesn’t need for 5 percent less than it would have cost yesterday. Planet Earth this year has bought itself an entirely new moon, even though the old one’s fine...
Vrchol drzosti. Ukradli volně dostupné demo a zpeněžili jej na Steamu
24.11.2022
Nezávislý vývojář Tyson Butler-Boschma uchvátil fanoušky hratelným prototypem neoficiální hry o Supermanovi, který nezištně nabízel na internetu zadarmo. K jeho nemalému překvapení ovšem jeho práci někdo nahrál do digitálního obchodu Steam a účtoval si za ni 250 korun. A aby toho nebylo málo, ještě...
How to Internationalize Numbers with JavaScript
21.11.2022
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...