Friday Issue Nr.104

2024-03-15

back

Safari 17.4 added a Switch tag and a few more exciting features. A fun-to-read conversation between Ryan (Remix) and Rich (Svelte) about the future of the Frontend and Utopia (CSS), a filter example using CSS:has(), and—by the way—CSS is Logical!

JavaScript News

TypeScript 5.4

https://devblogs.microsoft.com/typescript/announcing-typescript-5-4

Eloquent JavaScript (4th Edition, 2024)

Free book

https://eloquentjavascript.net/

Safari 17.4

There is <input type="checkbox" switch />, which for Safari would show as a Switch and for the other browsers as a Checkbox, and it works now.

Remember <hr/> tag? Now, it will have a second life and is restored into the <select /> tags.

The best bit (probably) is that finally, after zillions of years, we have simple div {align-content: centre}, which will centre any content without Flexbox. How many different techniques were used to get that content into the centre? With the Flexbox, it is dead simple, and now all you need is block elements like DIV and one-liner CSS.

https://webkit.org/blog/15063/webkit-features-in-safari-17-4/

SvelteKit vs Remix

So, Ryan Florence (Remix) asked other devs to create the same demo with their respective frames.

https://twitter.com/ryanflorence/status/1765540087029481566

Then Rich Haris (Svelte) created his version. I say this is a bit of cheating as Rich might have missed the idea that you MUST request DB content, where he just downloaded the whole DB in the front end. Anyways, the convo is fun to read.

https://twitter.com/Rich_Harris/status/1766120418602086416

https://github.com/Rich-Harris/sveltekit-movies-demo

Navigating the future of frontend

Friday’s long read.

https://frontendmastery.com/posts/navigating-the-future-of-frontend/

CSS News

Utopia - Fluid Responsive Design

This is a very elegant approach, and if properly connected with Designers and developers, it could make the design/development process super smooth.

https://utopia.fyi/

Fantastic 3D effects on scroll

https://tympanus.net/Development/3DStackMotion/

Use :has() to filter items by category using checkboxes, no JS is harmed

Perfect use case for the :has() selector.

https://codepen.io/jlengstorf/pen/YzMwNrp

CSS Tooltips and Speech Bubbles

Not sure what is going to be in part 2, but this part is massive and very detailed. Good Friday’s read.

https://www.smashingmagazine.com/2024/03/modern-css-tooltips-speech-bubbles-part1/

CSS is Logical

No arguments here!

https://geoffgraham.me/css-is-logical/

Mixed News

Devaluing Frontend

https://joshcollinsworth.com/blog/devaluing-frontend

Marking the Web’s 35th Birthday: An Open Letter

Author: Tim Berners-Lee

https://webfoundation.org/2024/03/marking-the-webs-35th-birthday-an-open-letter/

Comment on Mastodon

Andris Švarcs

Somehow, I've survived over 15 years as a web developer without losing my interest in the craft. Quite the opposite, with so many great improvements in the Web standards, what was nearly impossible now is easy to make.

My career has been a wild ride through small agencies and big corporations, building everything from finance apps to health dashboards.

I'm that annoying person who needs to understand products beyond just slinging code. I ask questions like 'Why is this feature important?' and 'How will this improve the customer journey?' – you know, the kind of questions that make project managers reach for the pint aspirin. This curiosity has led me down the rabbit holes of design, accessibility, and SEO. Because apparently, making websites pretty, usable, and findable wasn't challenging enough on its own.

P.S. If this bio sounds too polished, blame my evil AI twin. I'm still working on teaching it sarcasm.

Copyright © since 2021, Andris Švarcs. All rights reserved.

Lets connect

bluesky

youtube

linkedin