Search

Nalezeno "javascript": 803

How to Inject a Global with Web Extensions in Manifest V3


For those of you not familiar with the world of web extension development, a storm is brewing with Chrome. Google will stop support for manifest version 2, which is what the vast majority of web extensions use. Manifest version 3 sees many changes but the largest change is moving from persistent...

JavaScript Event.defaultPrevented


Whether you started with the old on_____ property or addEventListener, you know that events drive user experiences in modern JavaScript. If you’ve worked with events, you know that preventDefault() and stopPropagation() are frequently used to handle events. One thing you probably didn’t...

Technical Writing for Developers


HTML, CSS, JavaScript, Python, PHP, C++, Dart — there are so many programming languages out there and you may even be totally fluent in several of them! But as we aim to write more and better code, the way we … Technical Writing for Developers originally published on CSS-Tricks. You should...

How to Get Extension Manifest Information


Working on a web extension can be kinda wild — on one side you’re essentially just coding a website, on the other side you’re limited to what the browser says you can do in the extension execution environment. One change in that environment is coming January 2023 — pushing...

How I Chose an Animation Library for My Solitaire Game


There is an abundance of both CSS and JavaScript libraries for animation libraries out there. So many, in fact, that choosing the right one for your project can seem impossible. That’s the situation I faced when I decided to build … How I Chose an Animation Library for My Solitaire...

Building Interoperable Web Components That Even Work With React


Those of us who’ve been web developers more than a few years have probably written code using more than one JavaScript framework. With all the choices out there — React, Svelte, Vue, Angular, Solid — it’s all but inevitable. One … Building Interoperable Web Components That Even...

SPAs, Shared Element Transitions, and Re-Evaluating Technology


Nolan Lawson sparked some discussion when he described a noticeable shift away from single-page applications (SPAs): Hip new frameworks like Astro, Qwik, and Elder.js are touting their MPA [multi-page application] with “0kB JavaScript by default.” … SPAs, Shared Element Transitions,...

A Perfect Table of Contents With HTML + CSS


Earlier this year, I self-published an ebook called Understanding JavaScript Promises (free for download). Even though I didn’t have any intention of turning it into a print book, enough people reached out inquiring about a print version that … A Perfect Table of Contents With HTML...

Get a Random Array Item with JavaScript


JavaScript Arrays are probably my favorite primitive in JavaScript. You can do all sorts of awesome things with arrays: get unique values, clone them, empty them, etc. What about getting a random value from an array? To get a random item from an array, you can employ Math.random: const arr =...

Setting Up CloudFront to Host Your Web App


In my last article, we went over how to set up a web app that serves chunks and bundles of CSS and JavaScript from CloudFront. We integrated it into Vite so that when the app runs in a browser, … Setting Up CloudFront to Host Your Web App originally published on CSS-Tricks. You should...

Legacy String Methods for Generating HTML


I’m always really excited to see new methods on JavaScript primitives. These additions are acknowledgement that the language needs to evolve and that we’re doing exciting new things. That being said, I somehow just discovered some legacy String methods that you probably shouldn’t...

Interview with an Intiface Haptics Engineer


I was recently re-reading my Interview with a PornHub Web Developer and one bit I started thinking about was the VR question and the idea of making users not just see but feel` something. The haptic feedback of VR games is what really sets them apart from your standard PC or console game. So when...

Input valueAsNumber


Every once in a while I learn about a JavaScript property that I wish I had known about years earlier — valueAsNumber is one of them. The valueAsNumber provides the value of an input[type=number] as a Number type, instead of the traditional string representation when you get the value:...

Building an Interactive Sparkline Graph with D3


Learn how to build an interactive line graph using the D3 JavaScript library and CSS custom properties to create different color schemes. The post Building an Interactive Sparkline Graph with D3 appeared first on Codrops

6 Useful Bookmarklets to Boost Web Development


A bookmarklet is a JavaScript-based bookmark that adds to a web browser. I’d like to show you some awesome web browser hacks to aid your web development workflow and how to convert those hacks into time-saving bookmarklets. Activating design mode … 6 Useful Bookmarklets to Boost...

#posobota 26.3. 2022 – less – offline@Praha


Ahoj, tak na tohle jsem se dlouho těšil. Napsat zprávu, že po dlouhé době se opět můžeme potkat naživo, offline. Tentokráte v Praze v kancelářích manGowebu – Jungmannova 34, Praha 1. Přednášek kratších…

Flexible, Powerful DataGrad from Sencha (Sponsored)


Many of the web functionalities that we rely on once lived within individual desktop applications. From office suites, games, and financial tools, all of them are now web applications; they’re just as feature packed as their desktop counterparts. In the past I’ve used a variety...

Creating Native Web Components


Learn how to create and use native web components with the Minze JavaScript framework. The post Creating Native Web Components appeared first on Codrops

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