r/shittyprogramming • u/tommiecc36 • Feb 11 '23
Shitty easter egg ideas
In my CS class we are making a website for our assignment. I need some shitty ideas for easter eggs to include.
54
Upvotes
21
u/Zambini Feb 11 '23
Rotate the scroll events by 90°
8
u/pmcvalentin2014z Feb 11 '23
Add some logs that show up in the developer tools console.
3
u/Dr_Boogerstein Feb 11 '23
"forgot your password" button that just shows it in the UI
67
u/diMario Feb 11 '23
Add a comment in the source
40
u/erikieperikie Feb 11 '23
Add a global key up listener that triggers when the user types dragons, and then start summoning random dragon images all over the page.
Or any other trigger word, like kittens, puppies, unicorns, hotdogs, ...
23
u/designerandgeek Feb 11 '23
I once needed a way to remove cookie consent for testing, and did it by watching for the Konami code in keystrokes.
10
u/cediddi Feb 11 '23
There's an egg.js library for hidden key inputs like Konami code to trigger functions. I'd do Konami code to trigger a function that'd make everything 0.5 transparent.
7
u/[deleted] Feb 11 '23
i used to put scroll-triggers and click-triggers and animation in carefully selected areas of the websites. if you scroll in that area or hover mouse or click, a separate animation would happen and stop, and people would try to recreate it back. i had a lot of success with similar websites in college fests. it doubled user retention and people talked about the site on dc++ servers
6
u/xiipaoc Feb 11 '23
I do this in my website. Stay on the screen for a full minute, and the website starts rotating until it's upside down. If you move the mouse it resets back to normal.
5
u/decaillv Feb 11 '23
If you want it nice-ish, and not well hidden at all, change a logo somewhere depending on the date (typically add a father xmas hat to the company logo, butbonly show it on xmas... etc...) Extra points if the commit message is super worrying. I use that sort of shenanigans to ensure my colleagues do in fact review code i push
3
u/CptCono Feb 11 '23
Konami code
2
u/doesdrums Feb 12 '23
Create an awesome "error: 404" page.
Here's a few examples - https://webflow.com/blog/best-404-pages
2
u/Obvious_Relation4261 Feb 13 '23
Always add an almost hidden link to Beavis and Butthead
1
u/[deleted] Feb 12 '23
On hover on a certain line leave different keywords that lead to another clue. With the final clue being a gift card of $5 or something
1
u/ChineseWeebster Feb 15 '23 edited May 01 '24
roll abundant joke continue elderly different nine shy pause saw
This post was mass deleted and anonymized with Redact