I'm looking to set up a really straightforward website for a social experiment. The idea is to have a single button that can only be pressed once by each user. Once pressed, it should display the total number of times the button has been clicked, and then the user shouldn't be able to press it again after that. I'm curious about how hard it would be to create this or how to find someone who can help make it happen.
5 Answers
If you're looking to hire someone, I’d say $250 is a bit much for such a simple task! You might find someone who can do it more affordably.
Making sure the button can only be pressed once per user is the tricky part. Users' cookies can expire, and IP addresses are not always reliable. You'll need something robust for tracking.
But the point is to rely on users to just press it once and move on, right? They can only click it once for sure!
You can actually set this up fairly easily! A lot of what you need can be figured out by asking something like ChatGPT. It’s pretty straightforward once you get the hang of it.
Totally agree, that's all you really need to get started!
Instead of going for complex frameworks like Flask, which can be overkill, I’d recommend using just HTML, CSS, and vanilla JavaScript. You could easily manage click states with local storage and deploy it on platforms like Netlify or GitHub Pages.
Right? Simpler is often better for these types of projects!
I actually created something similar at Electosense.com. Feel free to check it out!
You really should focus on making sure your website doesn't have spelling mistakes if you're promoting it like that!
Exactly, way too high for what you need!