How to make the like and dislike buttons dynamic??? | SoloLearn: Learn to code for FREE!

+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

5/28/2020 2:21:34 PM

Divyanshu Singh

3 Answers

New Answer

+4

Ok but how Dhanush Adithya

+3

Yes, use firebase… you'll find tutorials on youtube

+2

I'll prefer Firebase Realtime Database to Firestore for this application Their docs are great to start with