Question: 1. Saving the likes and dislikes Whenever the user clicks on a like or dislike icon for any post or re-post, AJAX should be used

1. Saving the likes and dislikes Whenever the user clicks on a like or dislike icon for any post or re-post, AJAX should be used to send this information to the server where it is saved in the database. The response should be a JSON object that contains the updated number of likes and dislikes for the item, which is dynamically updated in the Web page (without the need to reload the entire page). Pay careful attention to the process for turning these likes and dislikes on and off, and verifying that this works properly for multiple users making independent selections
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
