I have an additional suggestion! Like
@futurearcana said, you do need a backend, BUT there's a shortcut! There's a service called
Appwrite, which describes itself as "backend as a service". You can use this service in place of having your own server. They have a pretty generous free plan, which should be plenty for you if you're just tracking some votes. I recently used it for a project and really liked it! You do need to know JavaScript at an intermediate level, but once you do, Appwrite is very easy to use!
You might be able to use Appwrite with a Neocities site, I'm not sure, but you
shouldn't--you want to use a hosting provider that provides what's called "environment variables" in order to connect to Appwrite securely. You can still get this hosting for free though! Some good providers are
Netlify and
Vercel.
You may be able to find even more alternatives besides Appwrite if you do a search for the phrase "backend as a service".
I absolutely don't want to discourage you from exploring and learning, but I do want to give you a warning that if you aren't already familiar with JavaScript, it will take a good amount of work to become proficient enough to use Appwrite. And if you wanted to host your own backend, that would likely be even more work to learn, plus you would have to worry about things like server security. It's awesome stuff that's worth learning if you have an interest in it--but if all you really want is a way for people to vote on your website, then it might not be worth all the effort and time. If you just want your visitors to be able to vote on stuff and don't really care about the "how", it might be wiser to just collect responses through something like Google Forms or
Tally (and store the responses in a Google Sheet or whatever) instead of trying to build it directly into your website. Though admittedly, I can't think of any way to automatically display the results on your site, so it's not a full solution...
EDIT: Okay I've been told that apparently you CAN use the Google Sheets API with client-side JavaScript to read data from a Google Sheet! Therefore, yeah, I think you should be able to make this work just using Google Sheets as your "database" and Tally or Google Forms to collect the votes.