r/ProgrammerHumor • • Oct 08 '26

Meme whichSideAreYouOn

Post image
1.3k Upvotes

132 comments sorted by

View all comments

229

u/just_looking_aroun Oct 08 '26

<button> everything is a button if you try hard enough

100

u/fghjconner Oct 08 '26

Oh, so you're the motherfucker responsible for all the links that can't be middle clicked, huh?

20

u/matytyma Oct 08 '26

I've seen a website that had elements looking like buttons be links and elements looking like links be buttons (but still used just for static redirects)

2

u/thehobbyqueer Oct 08 '26

ope. am i not supposed to be making links into buttons?

In my defense I'm not front end

5

u/matytyma Oct 08 '26

A link that works like a link and looks like a button? That's totally OK

3

u/thehobbyqueer Oct 08 '26

oh ok. love u xoxo

3

u/mentisyy Oct 08 '26

I hate sites like that. I've built browser extensions for several sites just to fix their incompetence.

1

u/fr000gs Oct 08 '26

And scroll to zoom, drag to pan

14

u/hpyfox Oct 08 '26 edited Oct 08 '26

I've seen a page use <span> everywhere (only on text). It made sense why but was interesting to see.

8

u/za72 Oct 08 '26

that's just abusing the standards...

3

u/hpyfox Oct 08 '26

17

u/JeffysChewToy Oct 08 '26

Lol put span{display:block} and you've got a new div

2

u/matytyma Oct 08 '26

Add inline display for div and just use them where you'd normally use the other one

0

u/za72 Oct 08 '26

nice speech - it's still abuse

1

u/genghis_calm Oct 08 '26

Hopefully it was RNW output

1

u/hpyfox Oct 08 '26

I don't think so.

https://playground.tensorflow.org/ - Le website

2

u/HarryBolsac Oct 08 '26

You mean <table> right?

1

u/Familiar_Ad_8919 Oct 08 '26

ive seen someone override img to style an entire paragraph below the image, like an entire card contained in an img tag

if u have the perseverance u can do this with just an img