Building a Simple Website with a One-Time Button Press

0
17
Asked By CuriousCat89 On

I'm running a little social experiment and I want to create a website that's super simple. It should have just one button that users can press, and once they hit it, they shouldn't be able to press it again. I also want the site to display how many times the button has been pressed. How difficult would it be to create this myself or find someone to do it?

4 Answers

Answered By FlaskFan99 On

You could certainly use Flask and HTML to build this. Just ask ChatGPT how to deploy it on Pythonanywhere for specific instructions!

SimpleDev42 -

Flask sounds like overkill for this. I'd go with just vanilla JavaScript and HTML. You can use local storage to check if they've clicked the button!

Answered By TechGuruX On

You might find that using tools like ChatGPT could help you set this up fairly easily. It's a straightforward project! Just get the right instructions, and you should be good to go.

HelpfulNerd22 -

Totally agree! ChatGPT can provide step-by-step guidance.

Answered By CodeExpert23 On

Just a heads-up, making sure the button can only be pressed once per user can be tricky. Things like cookies can expire, and IP addresses can change, so perfection is hard to achieve.

UserTrustFund -

Exactly, but the main goal here seems to be trusting users to press it once and move on!

Answered By BudgetCoder77 On

Looking to get this done? I could help for about $250!

PriceWatcher88 -

That's way too steep for such a straightforward project!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.