Help with script on upvote system

Hey everyone,

Wondering could anyone assist. I’m trying to build an upvote system in Webflow. I’ve followed along with this tutorial >>https://webflow.com/blog/upvote-system

I have the upvote system built on my site, but I’m having issues with the js after someone votes. Right now, people can vote unlimited times.

I’ve added what i beleive to be the right script to hide element upon voting

Here’s a read only link for those that want to look at the script

https://preview.webflow.com/preview/new-site-test-ea219e?utm_medium=preview_link&utm_source=designer&utm_content=new-site-test-ea219e&preview=4c4ca4e0f9e809c5ae37a1f4709fb010&pageId=5e9fffdcd6376e24203ecb39&mode=preview

And here’s the actual url with the upvote system on it >> https://www.deepsailing.com/learn-how-to-sail-in-chicago

Ideally, I want users to only vote once (yes i know they can clear cache and vote again) but something pretty simple that would slow down people mass voting.

Any assistance would be great

I’m having the same issue, have you managed to resolve it yet?