1👍
✅
The main problem is that the like and dislike buttons are not inside the form. Only elements inside the form element will be submitted to the server.
However it’s is not clear what you are expecting the buttons to do. Button elements are not like checkboxes or radio buttons that you can select and then submit along with the rest of the form: they work as actual submit buttons themselves.
Source:stackexchange.com