Back to articles
Do Not Press -- an extremely important button that you should not press
How-ToDevOps

Do Not Press -- an extremely important button that you should not press

via Dev.toSarvesh

This is a submission for the DEV April Fools Challenge What I Built I built a button. One button. A big, red, very important button that says DO NOT PRESS . It does nothing. There is no easter egg. There is no secret. There is no reward. There is only the button, your poor decisions, and a Regret Level meter that fills up every time you make the wrong choice — which is every time you press it. Why did I build this? That's the wrong question. The right question is: why did YOU press it? Demo 🔴 Try it live: https://sarvesh555.neocities.org/do_not_press_button Code The entire project is a single HTML file. No framework. No dependencies. No npm install. No build step. No CI/CD pipeline. No cloud infrastructure. Just a button, some JavaScript, and 25 handcrafted messages of escalating disappointment. <!-- The most important part --> <button id= "big-btn" onclick= "pressIt()" > DO NOT <br> PRESS </button> The pressIt() function: Increments a counter Displays a new consequence message (there

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles