@vanilla@social.spicyweb.dev avatar

vanilla

@vanilla@social.spicyweb.dev

Vanilla has never tasted so hot. Join a fabulous community of web developers learning how to use “vanilla” web specs like HTTP, HTML, CSS, JavaScript, & Web Components.

Produced by @jaredwhite

This profile is from a federated server and may be incomplete. Browse more on the original instance.

vanilla, to CSS
@vanilla@social.spicyweb.dev avatar

Finally. 😂

(We love ya 3, but it's high time we were talking about CSS4, CSS5, and beyond!)

https://thathtml.blog/2024/05/get-ready-for-css-6/

vanilla,
@vanilla@social.spicyweb.dev avatar

@tennoseremel CSS Pro Max

vanilla, to programming
@vanilla@social.spicyweb.dev avatar

Last month's exclusive video at The Spicy Web demonstrating a CodePen example of Signals—what they are, how they work, and why frontend frameworks and fans of vanilla alike are adopting them rapid-fire—is now available to view for free! Check it out:

https://www.spicyweb.dev/videos/2024/signals-are-eating-the-web/

sachagreif, to random
@sachagreif@hachyderm.io avatar

I'm very excited to share that the State of HTML 2023 survey results are now live!

https://2023.stateofhtml.com/

vanilla,
@vanilla@social.spicyweb.dev avatar

@sachagreif woo hoo! very exciting! 🎉

vanilla, to webdev
@vanilla@social.spicyweb.dev avatar

New video out on The Spicy Web! 🌶️

Here be a fresh (and tingly!) take on reaching for #HTML-first tools like htmx, Turbo, Unpoly, etc. and why you might just want to (spoiler alert!) go vanilla. 🍦 After all, we have so many great browser-native APIs at our disposal now! #JavaScript #WebDev

Sign in or sign up via Intuitive+ to watch:
https://www.spicyweb.dev/videos/2024/ajax-back-in-action/

vanilla,
@vanilla@social.spicyweb.dev avatar

Don't forget to hop in our Discord server to ask questions and brainstorm ideas about this very topic!

https://discord.gg/CUuYVH7Qa9

vanilla, to random
@vanilla@social.spicyweb.dev avatar

I don't know. Am I? 🤔💭🤖

bw, to random
@bw@social.lol avatar

I’m always looking for good CSS named-colors cheatsheets or references. This one is fun. Please send me ones you know of!

https://austingil.com/css-named-colors/

vanilla,
@vanilla@social.spicyweb.dev avatar

@bw There's also some very cool tools here: https://htmlcolorcodes.com/color-names/

hi_mayank, to random
@hi_mayank@hachyderm.io avatar

the thing i love about CSS is that there are no "CSS bros" in the way that there are "JS bros", "tailwind bros", and even "HTML bros"

vanilla,
@vanilla@social.spicyweb.dev avatar

@hi_mayank .well[actually] { ... }

thomaswilburn, to random
@thomaswilburn@toot.cafe avatar

Prime example of where web components really shine: I'm working on a scrollytelling piece where moving through the document updates state linked to a map background layer. At the bottom there's a graph that appears if you click a school board district. Now I want that to appear in multiple places. Easy: just move that into a custom element, and it takes care of initializing itself wherever I put it. The ability to create reactive islands is deeply underappreciated.

vanilla,
@vanilla@social.spicyweb.dev avatar

@thomaswilburn Yep! As you put it, “reactive islands" in otherwise static/simple markup is a fantastic use case for custom elements.

vanilla, to random
@vanilla@social.spicyweb.dev avatar

Astro's been pushing hard into fullstack framework territory as of late, and has just released an experimental server actions feature. Check it out and offer your feedback:

RE: https://m.webtoo.ls/@astro/112411302831929468

vanilla, to javascript
@vanilla@social.spicyweb.dev avatar

It’s easy to get confused about how to work with element properties in vs. how to work with element attributes in .

@jaffathecake to the rescue!

In this article, Jake talks about value types, serialization, reflection, case sensitivity, and a host of other interesting details.

https://thathtml.blog/2024/05/props-v-attributes-go/

vanilla, to CSS
@vanilla@social.spicyweb.dev avatar

Oh, the drama!

Rachel Andrew:

> Chrome is keen to see an implementation of masonry type layouts on the web. However, we feel that implementing it as part of the CSS Grid specification as proposed in the recent WebKit post would be a mistake.

Rachel goes on to explain how the “masonry” layout differs enough from standard grid so as to warrant a different mode.

What do you think? Should masonry be an addition to grid? Or should it be its own layout mode?

https://thathtml.blog/2024/05/masonry-the-rebuttal/

vanilla, to random
@vanilla@social.spicyweb.dev avatar

One of the truly great things about the Web is how so much of it is just files in folders…and mostly text at that. No mysterious bundles of data goo, no weird hard-to-parse formats. And the best frameworks let you go from A -> B easily with simple understandable conversions.

Markdown -> HTML
Posts -> RSS
Big images -> smaller images
Component styles -> .css file(s)

And then if you use hosting setups which understand how to serve mostly static assets quickly and cheaply, you're golden! 🤩🤘

vanilla, to CSS
@vanilla@social.spicyweb.dev avatar

Feels like we’ve been waiting for a JavaScript-free solution to content flowing down multiple columns (what some might think of as the "Pinterest" layout) for forever. But the momentum to add a “masonry grid” to proper is growing, and this layout mode is being prototyped as we speak!

Over at the WebKit Blog, @jensimmons writes about the future of masonry, or “waterfall" layout in CSS and asks the community for its feedback:

https://thathtml.blog/2024/04/the-future-of-masonry-layout/

vanilla, to javascript
@vanilla@social.spicyweb.dev avatar

A look at the future: what could be coming down the pike for ?

A list of @TC39 proposals you might want to keep your eye on:

https://thathtml.blog/2024/04/coming-to-javascript-near-you/

jimniels, to random
@jimniels@mastodon.social avatar

📝 Thanks to an intervention from @chriscoyier I have now provided a slightly better way to consistently navigate across my inconsistent websites.

If, like me, you also suffer from the effects of poor choices in web property architecture, improvement is possible.

I got better in a little less than 4 weeks by making a widget of my floating head.

https://blog.jim-nielsen.com/2024/consistent-nav-across-inconsistent-sites/

vanilla,
@vanilla@social.spicyweb.dev avatar

@jimniels @chriscoyier That is cool as fuck

vanilla, to webdev
@vanilla@social.spicyweb.dev avatar

Unpopular (maybe?) opinion:

The way to get better at & isn't to build complex web applications with frontend frameworks. The way to get better at HTML & CSS is to write content with HTML & CSS.

  • Build a blog.
  • Build a landing page.
  • Build a report.
  • Build a portfolio.
  • Build lists.

Most web applications are simply content + forms in a fancy UI trench coat. 😅 They just tend to be far more "componetized" — making it much harder to grok the underlying semantics at first.

DavidDarnes, to random
@DavidDarnes@mastodon.design avatar

Newly added to my collection: <link-peek>!

Turn any regular anchor link into a rich preview (also known as an ‘unfurled’ link). Can be used with any JSON API and allows for custom templating.

Prefect for creating more visual interest on links without filling the page with additional HTML noise:

✍🏻 https://darn.es/link-peek-web-component/
📦 https://www.npmjs.com/package/@daviddarnes/link-peek

vanilla,
@vanilla@social.spicyweb.dev avatar

@DavidDarnes this is insanely great 🤩👏

vanilla, to random
@vanilla@social.spicyweb.dev avatar

Yet

==React==

is still based in a

==DOM==

built on

==object-oriented mutations & side effects==

😎
https://beep.town/@zion/112258607133575939

vanilla, to webdev
@vanilla@social.spicyweb.dev avatar

Should the web platform offer signals?

That is, the ability to define observable values (signals) which you can implicitly subscribe to in execution contexts (effects) which will then re-run whenever the values change.

That’s the question being asked by a crew of researchers and spec authors led by noted web components expert Rob Eisenberg.

https://thathtml.blog/2024/04/should-the-web-platform-offer-signals/

zachleat, to random
@zachleat@zachleat.com avatar

I wonder if y’all can help me out—I’m trying to collect a list of web development communities (not related to any one specific tool or framework), can you reply with your favorites?

(if you don’t have a favorite I will also accept communities you’re familiar with 😅)

vanilla,
@vanilla@social.spicyweb.dev avatar

@zachleat shameless plug: https://spicyweb.dev 😊

vanilla, to webdev
@vanilla@social.spicyweb.dev avatar

Providing a recap of Interop 2023, @bsmth at @MDN shows us why the Interop initiative is so important, the role MDN developer docs play in keeping folks updated as new spec implementations align across browsers, and what we can look forward to in 2024:

https://thathtml.blog/2024/03/interop-2023-documentation-recap/

vanilla, to webdev
@vanilla@social.spicyweb.dev avatar

Sometimes #WebComponents need to know what’s happening inside of them.

Whether you’re working with the concept of “slots” or just plain ol’ #HTML, you may need to react to changes imposed from without.

Thankfully, the native platform provides a solution in the form of MutationObserver, an API which is so powerful it can beat at the heart of entire #JS frameworks (Stimulus being but one example).

#WebDev examples by @raymondcamden and @jaredwhite:

https://thathtml.blog/2024/03/more-fun-with-web-components-and-mutationobserver/

vanilla, to CSS
@vanilla@social.spicyweb.dev avatar

It seems hyperbolic to keep referring to new features as "gamechangers" but…

…Container Style Queries is indeed a gamechanger. 🙌

Chromium browsers and now Safari TP have added support…Firefox when? Hopefully soon! 🤞

⚙️ elopers, add some 🦸🏽‍♀️ superpowers to your CSS variables:

https://thathtml.blog/2024/03/superpowered-container-style-queries/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • InstantRegret
  • tacticalgear
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • everett
  • slotface
  • khanakhh
  • osvaldo12
  • kavyap
  • megavids
  • Durango
  • vwfavf
  • cubers
  • modclub
  • ngwrru68w68
  • GTA5RPClips
  • cisconetworking
  • Leos
  • ethstaker
  • normalnudes
  • tester
  • anitta
  • JUstTest
  • All magazines