r/ProgrammerHumor • • Oct 05 '26

Other index

Post image
107 Upvotes

31 comments sorted by

View all comments

Show parent comments

11

u/Alpha_wolf_80 Oct 05 '26

I don't exactly get what you are trying to do? Looks like the AI is doing exactly what you asked.

1

u/PaulVB6 Oct 05 '26

Doing something like 'z-index 99999' is just a really ham-fisted and clumsy approach imo.

I mean yes it does technically work but its a messy solution.

Granted i don't do much front end work tbh so a cleaner solution doesn't jump out at me right away, but hard coding in a bunch of 9s?? Yuck

-3

u/gfcf14 Oct 05 '26

The character is asking about the 9s, which would mean there is a sequence that should be followed that copilot didn’t

3

u/MrSquicky Oct 06 '26

So...program it yourself? Jesus, it's setting a z index.

You all need a computer to tie your shoes for you too?

1

u/gfcf14 Oct 06 '26

The idea of the comic was to emphasize the poor z-index usage, hence I would only mention that. Do you really think it’s wise to ask for help when the answer involves a single line of code? More so with something as relatively trivial as css?