Search
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...
Celebs who got burned endorsing crypto and those that got away with it
4.1.2023
Screen actors and sports stars copped most of the backlash for 2022’s crypto endorsements, while soccer legends appear to have gotten away with it
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...
'Crypto winter' won't end in 2023 — Bitcoin advocate David Marcus
31.12.2022
It will be "another tough year" for crypto in the wake of the FTX scandal, suggests the former Meta executive turned Bitcoin Lightning Network advocate
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...
Silver and Gold — Precious Metals Stored Value This Year Outperforming Crypto Assets in 2022
26.12.2022
Gold prices are ending the year a hair below the values recorded 12 months ago. Statistics on Dec. 26, 2021, show the U.S. dollar value per ounce of gold was $1,810 per unit, and today gold is $1,797 per ounce. Silver, on the other hand, managed to increase a hair in value since last year, […]
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...
Brazilian footballer David Luiz is now the brand ambassador for BC.GAME
26.12.2022
BC.GAME has announced that David Luiz, a Brazilian professional football player of the Flamengo team, has become its official brand ambassador. As the crypto casino’s brand ambassador, Luiz will consistently collaborate with BC.GAME to help promote the casino platform and engage with its community...
Bitcoin still lacks this on-chain signal for BTC bull market — David Puell
17.12.2022
Bitcoin network activity is "underwhelming," the famous analyst says, as further data reaffirms a textbook BTC price bottom in progress
PayPal has become an episode of Black Mirror: Elon Musk
14.12.2022
The "PayPal Mafia" including co-founders Peter Thiel and Elon Musk have slammed the payments platform over its "totalitarian" debanking policies
Report: FTX Execs Offered Taylor Swift $100M to Endorse the Exchange, Source Says Singer Never Considered the Deal
7.12.2022
According to a report, the American singer-songwriter Taylor Swift was allegedly courted by FTX to promote the exchange. Sources say the deal was worth more than $100 million and it was reportedly pushed by the FTX executive Claire Watanabe. Award-Winning Singer Taylor Swift Was Allegedly Courted...
Report: FTX Co-Founder SBF Retains White-Collar Lawyer Who Represented Ghislaine Maxwell
7.12.2022
On Dec. 6, 2022, the former FTX CEO Sam Bankman-Fried (SBF) reportedly retained the attorney Mark Cohen, the lawyer that represented Ghislaine Maxwell during her recent sex trafficking case. SBF’s spokesperson further explained that the FTX co-founder is being consulted by a professor at Stanford...
Korean VC Firm Daesung Private Equity Announces $83 Million Metaverse Fund
3.12.2022
Daesung Private Equity, a Korean venture capital firm, has announced the launch of a metaverse fund of 110 billion won ($83.5 million). The fund, which will have the participation of the Korean state represented by Korea Venture Investment Corporation’s Korea Fund of Funds, aims to...
Army Planned To Spend Millions On Twitch And Call Of Duty To Recruit Gen Z
2.12.2022
The U.S. Army’s gamer to soldier pipeline is hardly a secret at this point, but new documents show its recent, detailed plans to spend millions to recruit Gen Z through gaming-related sponsorships and ad campaigns. The partnerships ranged from Call of Duty Twitch streamers to sponsoring content...
EmpiresX 'head trader' to face 4 years of prison over $100M crypto 'Ponzi'
1.12.2022
Two other associates that helped run the U.S.-based fraudulent crypto platform EmpiresX left the country early this year and are believed to be in Brazil
Ripple CTO Says One Important Lesson From FTX Meltdown ‘Will Not Be Learned’
24.11.2022
A Ripple executive says there is one important lesson from the meltdown of crypto exchange FTX that he “can say with total confidence will not be learned.” The executive added: “Regulation that punishes after the fact won’t catch it. Investor due diligence won’t...