Thursday, August 20, 2026
HomeJavaScriptInternet Weekly #198

Internet Weekly #198


Guten Tag! Guten Tag! 👋 

Have you ever heard of the brand new Git historical past instructions? Are you overwhelmed by Chrome’s efficiency profiler? And do you employ the inert attribute in your websites?

Activate the Internet Weekly tune and discover some solutions under. Take pleasure in!




Paul says:

I lately discovered in regards to the band Moist Leg once I noticed them carry out on NPR’s Tiny Desk on YouTube. Their album moisturizer has been on repeat typically since then.

Do you wish to share your favourite tune with the Internet Weekly group? Hit reply; there are three extra songs left within the queue.


I have been cleansing up some tabs the final couple of days and though I am no font particular person, listed here are some fonts that may come in useful sooner or later.

The charts below some controls. One bar chart, a sparkline and a pie chart.

Datatype is a variable font that turns textual content into charts. 🤯 I’ve bought no concept how this works technically, however it could actually undoubtedly be helpful for inline graphics or sparklines. Disclaimer: pay attention to accessibility points. It’s best to most likely go together with a function="img" and span mixture when utilizing it.

Squiggly lines that look like a paragraph and a heading.

Redacted Script is a font that appears like hand-written placeholder textual content. I might like to see a skeleton placeholder with it. 😅

Some black blocks on white.

And if that is too fancy, Circulate Block does the identical however with out the handwriting.

Possibly I ought to sit down at some point to know how all this font magic works…


For those who get pleasure from Internet Weekly, share it together with your family and friends.

A fast “repost” actually helps this indie publication out. Thanks! ❤️

Internet Weekly Housekeeping 

This week's bag of karma points goes to Nadja and Charles!

This week’s summer time bag of karma factors goes to Nadja and Charles, who began to help Internet Weekly financially. This brings the supporter rely to the superb variety of 56.

After subtracting the price of sending and internet hosting, Internet Weekly now makes round $160 per thirty days. Thanks all for supporting this article! ❤️

For those who get pleasure from Internet Weekly, give again with a small month-to-month donation on Patreon or GitHub Sponsors. It actually makes a distinction in these exhausting instances of AI slop and low-effort net creation.

One thing that made me smile this week 

Firefox in WebAssembly

There’s nothing to see right here, it is only a browser operating in your browser.

Spin up Firefox

No code 

The “No code” part turned out to be slightly technical this week. 🫣 In case you have good articles exterior of the tech bubble, shoot them my method!

The experimental git historical past command 

$ git history fixup ghi9012

Git ships a brand new historical past command that makes it simpler to vary and repair commits. For those who dislike interactive rebasing, you will actually like this one.

Change historical past

Ingredient states in JavaScript and (!) CSS 

element.addEventListener("focus", (event) => {   if (event.target.matches(":focus-visible")) {     /* Do something */   } });

I actually favored this one. Daniel put CSS states (:focus-visible, :popover-open, :fullscreen and so on) subsequent to attainable JavaScript implementations. He additionally went into the pretty new event-trigger CSS props and that is some fancy stuff!

Tailor to state

New in Edge: community effectivity guardrails 

Document-Policy: network-efficiency-guardrails; report-to=neg-endpoint Reporting-Endpoints: neg-endpoint="/neg-reporting/"

I dig this lots! Edge now ships an experimental function that warns you about and screens community exercise that is not optimized, like uncompressed property or massive photos.

Keep quick

Perceive the efficiency profile 

A profile network waterfall.

For those who’re intimidated by the Chrome DevTools efficiency device, you will dig this one. Joan put collectively a pleasant explainer about all the main points it’s good to know!

Get into it!

For years, everyone online has known the deal: websites can fingerprint you. Identify you. Follow you around.  So we decline the cookie banners. We hunt for the reject all button. We feel a little safer. Modern browsers don't really need the cookie anymore.

I might say I used to be fairly conscious of all the chances and knowledge my browser shares about me, but it surely’s nonetheless wild to see all this information in black and white.

Know your fingerprint

On overflowing photos 

A container with a red border showing that image can overflow.

This is Temani but once more doing Temani issues explaining tips on how to tweak and regulate the overflow of particular person photos utilizing object-fit and object-position.

The <img> component (the HTML component) is the “container”, and the picture useful resource (the precise picture) is loaded inside that “container” and turns into the “content material”. We’ve got our container-content relation so we are able to discuss overflow.

It is an amazing learn to know img fundamentals.

Perceive photos

View transitions block interactions 

:root {   view-transition-name: none; } ::view-transition {    pointer-events: none; }

Have you ever ever observed that “issues change into unclickable” when a view transition is operating? For those who’re operating lengthy animations, Chris shared what you are able to do about it.

Hold issues interactive

.decorated {   grid-template:        repeat(auto-fill,minmax(30px,1fr))/       repeat(auto-fill,minmax(30px,1fr));   gap: 5px;   rule: solid;   rule-color: red, red, blue;   rule-width: 1px, 1px, 3px; }

Since releasing the Internet Weekly redesign, I have been ready for CSS hole decorations to ship throughout browsers, as a result of the design consists of loads of borders, and styling every part throughout viewports precipitated a light headache.

CSS hole decorations are delivery in Chromium already. If you wish to dive deeper, listed here are some hyperlinks.

Visible design guidelines 

Visual design rules you can safely follow every time. You do not have to follow these rules every time. If you have a good reason to break any of them, do. But they are safe to follow every time.

I am fairly certain I learn this publish years in the past (appears to have been prolonged since) and I am nonetheless following a few of the guidelines. These easy-to-remember guidelines will show you how to out if you do not have a watch for design.

Prettify issues

Random MDN – inert 

&lt;div inert&gt;   &lt;label for=&quot;button2&quot;&gt;Button 2&lt;/label&gt;   &lt;button id=&quot;button2&quot;&gt;I am inert&lt;/button&gt; &lt;/div&gt;

From the limitless MDN data archive…

For those who’re coping with parts that should not be accessible or reachable in any respect, the HTML inert attribute helps out!

Make parts inert

TIL recap – @keyframe animations within the CSS cascade 

The cascade determines what properties to apply to an element: 1. user-agent (browser) 2. user 3. author (developer) 4. CSS keyframe animations 5. author (developer) !important 6. user !important 7. user-agent (browser) !important 8. CSS transitions

Do you know that keyframe animations have a particular place within the CSS cascade? No? Then this publish is for you!

Animate

New on the baseline 

Three new baseline widely available features: Array.fromAsync, avif images and :has()

There would not appear to be a brand new function that lately went on the baseline, so let me share three issues that simply went baseline broadly out there! 🎉

I may be getting previous, but it surely nonetheless appears like these options landed yesterday.

Three worthwhile initiatives to take a look at 

A brand new Tiny Helper 

A graph showing the comparison of testing frameworks.

The oldsters behind the TanStack software program manufacturing unit launched one other device to match npm obtain stats. It isn’t the primary website that does this, but it surely has some extra config choices if you wish to dive deeper.

Examine

Considered the week 

As I am turning 41 this week, I really feel each phrase of this publish. Protecting friendships alive typically turns into exhausting work and “associates for all times” can rapidly change into “folks I used to know” in case you’re not cautious.

Grownup friendship grew to become one of the crucial emotionally important and least mentioned losses of recent life.

Did you be taught one thing from this subject? 

❤️ In that case, be part of 56 different Internet Weekly supporters and provides again with a small month-to-month donation on Patreon or GitHub Sponsors.

That is all, associates! 

Liked this electronic mail? Hated this electronic mail? I wish to hear about it!

For those who suppose one thing wants enchancment or one thing sparked some pleasure, reply to this electronic mail as a result of I wish to know extra!


And with that, deal with your self – mentally, bodily, and emotionally.

I am going to see you subsequent week! 👋

Be part of 6.4k+ builders and

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments