Home > Blockchain >  A like counter?
A like counter?

Time:09-29

I want to make a like button thing. Every time you click the button it would store the data and if you refresh the page, the number would stay the same with the vote.

Does anyone have ideas?

CodePudding user response:

a simple answer I think would be cookies, Cookies are small data that you can save in the browser. But they will only be available in the browser where the page is executed. here I give you a link so you can read. cookies w3

CodePudding user response:

You can't simply create a like button and expect it to work without databases :) You could do this easily by using the website LikeBtn and create everything without worrying of creating a database and simply importing it into the website, or you could use Lyket to solve the problem as well.

  • Related