1. 상황button을 이미 좋아요를 누른 유저라면 UNLIKE로 보이고 그렇지 않다면 LIKE로 보이게 만들어놨는데...$('#likeButton').click(function(event) { event.preventDefault(); // 기본 동작 방지 (페이지 새로고침 방지) let bookId = $('#bookId').val(); let currentButton = $(this); // 현재 클릭된 버튼 let isLikeUser = $('#isLikeUser').val(); // 버튼 텍스트와 배경 색상을 즉시 변경 -> else일때는 잘돌아감 if (isLikeUser === 1) { currentButton.text('UNLIKE').css('..