How Do I Create a Simple One-Press Website Based on QR Codes?
Asked by
CuriousCat93
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.
Answers
I actually created something similar at Electosense.com. Feel free to check it out!
Reply to this answer
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.
SimplicitySeeker: Right? Simpler is often better for these types of projects!
Reply to this answer
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.
QuickReply99: Totally agree, that's all you really need to get started!
Reply to this answer
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.
UserTrust56: 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!
Reply to this answer
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.
FrugalFinder21: Exactly, way too high for what you need!
Reply to this answer
Add your answer
Answers are reviewed before publication.
CriticalWatcher008: You really should focus on making sure your website doesn't have spelling mistakes if you're promoting it like that!