How to make the like and dislike buttons dynamic??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

How to make the like and dislike buttons dynamic???

I have made Like and Dislike Buttons but i am not able to store the data of the buttons when the user clicked on them. I want to make them work just like sololearn' Like and Dislike Buttons. I know I have to use database but I don't know about php. Anyone who could help me making these buttons working. I have used JavaScript but it is not enough. Here is the code: https://code.sololearn.com/W8DqM49J09dZ/?ref=app

28th May 2020, 2:21 PM
Divyanshu Singh
Divyanshu Singh - avatar
2 Answers
+ 4
Ok but how Dhanush Adithya
28th May 2020, 3:43 PM
Divyanshu Singh
Divyanshu Singh - avatar
+ 3
I'll prefer Firebase Realtime Database to Firestore for this application Their docs are great to start with
28th May 2020, 2:27 PM
deeyae
deeyae - avatar