Discover and read the best of Twitter Threads about #webalmanac

Most recents (2)

Cool #JS algorithm problem that came up in my #WebAlmanac code:

You have an array of unordered DOM nodes. You want to put them in a JSON object that follows their relative containment relationships:

[{element: Node, inside: [{element, inside: […]}, …]}, …]

How do you do it?
Will post my solution tomorrow (unless someone else posts the same one)!
Clarifications: the array with the "inside" key is the descendants of the element on the object it's on, not the ancestors. I.e. obj.inside[0] is a descendant of obj.element.
Read 4 tweets
The #WebAlmanac is almost ready to launch and I'm really REALLY excited. 75+ people from the web community volunteered their time to produce a report containing **20 chapters** about the state of the web. So grateful for all of the contributors and I can't wait to share our work! An illustration of a web pa...
By the way, how great are these illustrations?! Many thanks to @DataToViz for drawing all 20 chapters. I absolutely love how these came out.

Can you guess which chapters they correspond to? ImageImageImageImage
A few more teaser illustrations... ImageImageImageImage
Read 4 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!