🎙️
15

Just found out how many lines of code are in a simple web page

I was poking around in the developer tools on my browser yesterday, looking at the code for a basic news site. I right clicked and hit 'View Page Source', expecting maybe a hundred lines. It was over 1,200 lines of HTML, CSS, and JavaScript for just the homepage. That blew my mind, because it looks so simple on the screen. Has anyone else had a moment like this that made you realize how much is going on behind the scenes?
3 comments

Log in to join the discussion

Log In
3 Comments
bennett.nora
My first "view source" gave me a panic attack.
3
taylor_miller10
Honestly that reaction seems way over the top to me. View source is just showing you how the page is built, it's not some scary magic. Getting a panic attack from looking at basic HTML code feels like a huge overreaction. It's just text and tags, nothing in there is out to get you. If anything, seeing the simple structure should be comforting, not scary. Framing it as a traumatic event just makes learning tech seem way harder than it needs to be.
3
stella_lane
Wow, that's actually really relatable. Seeing all that raw code for the first time can feel like opening a machine and seeing a mess of wires. It's not about the code being scary, it's about feeling totally lost in something new. That sudden wall of unknown stuff hits hard. I get why someone would freeze up looking at it.
1