This is example post for jquery like button and bootstrap 4,
you can use this snippet for like dislike system

You can also create dislike button with same method,
just change icon thumbs up to thumbs down