meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

Why is Facebook’s HTML + CSS Such a Mess?

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.91.2K Ratings

🗓️ 7 August 2023

⏱️ 30 minutes

🧾️ Download transcript

Summary

In this episode of Syntax, Wes and Scott talk about why Threads, Instagram, and all things Facebook have what seems like really messy HTML and CSS? Show Notes 00:10 Welcome Scott on Threads Wes on Threads 00:35 Threads has got divs 02:42 Tight scoping 09:44 Avoids specificity 10:37 Dealing with ad blockers and scraping 15:45 Divs are free, what’s the big deal? 20:19 Facebook is tracking everything 27:57 React Native Shameless Plugs Scott: Sentry Wes: Wes Bos Tutorials Tweet us your tasty treats Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets Wes Bos on Bluesky Scott on Bluesky Syntax on Bluesky

Transcript

Click on a timestamp to play from that location

0:00.0

You're listening to syntax the podcast with the tastiest web development treats out there strap yourself in and get ready

0:07.7

Here is Scott to Lensky and West boss

0:10.4

Welcome to syntax on this Monday. Hey, do you treat we're gonna be talking about hey?

0:16.8

Did you see that that the threads site and they had they had 10,000 divs on that side?

0:22.1

We're gonna be talking all about that. Why is Facebook's HTML and CSS such a mess is going on there

0:27.8

Do they need Marie condo to come in and spark some joy in here? What's going on there? My name is Scott to Lensky

0:33.6

I'm a developer from Denver and with me as always is West boss. Hey, I am excited to talk about this

0:40.4

so when threads launched

0:42.4

I

0:43.7

Couldn't help myself but do a little inspect element and

0:48.6

They'll the landing page before it even launched had 13 divs just to do a full-screen canvas and I tweeted it out and

0:57.8

It got like half a million views which bumps me out because it's so easy to be snarky and get a ton of

1:06.6

Traction, whereas if you actually spend a long time on like a tip or something it will get

1:12.2

Not maybe 10% of that

1:15.1

You knew what you were doing when you were tweeting out that L.A. Facebook tweet you exactly

1:20.0

So I did that and then I and then like people go oh L.A.

1:23.6

Well like Facebook doesn't know what they're doing and the reality is this obviously Facebook

1:28.6

Obviously, there's a reason behind it. Obviously, there's very smart people that work there and maybe that's that's not so obvious

1:34.9

But I thought let's do a quick rundown. I've been curious about this forever as to like why when you view source on

1:44.4

Instagram Facebook or now threads

1:47.1

Why two things? Why is there so many divs? Why when they put like a title that says your name

1:54.4

If you inspect element on like a post that you made and you inspect your name, there's probably seven divs that wrap your name and

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.