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
You could certainly use Flask and HTML to build this. Just ask ChatGPT how to deploy it on Pythonanywhere for specific instructions!
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.
Totally agree! ChatGPT can provide step-by-step guidance.
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.
Exactly, but the main goal here seems to be trusting users to press it once and move on!
Looking to get this done? I could help for about $250!
That's way too steep for such a straightforward project!
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!