Skip to content

Commit

Permalink
dd
Browse files Browse the repository at this point in the history
d
  • Loading branch information
betterb2etr committed Nov 29, 2023
1 parent 2b0f879 commit 16f36d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 8 additions & 4 deletions charinfo.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,25 @@ header {
margin-left: 40px;
transition: .5s;
}
.reviews-container{
#reviews-container{
position: static;
width: 25%;
top:50px;

padding-top: 10px;
padding-bottom: 10px;
height: flex;
text-align: center;
font-family: 'Inter';
font-style: italic;
font-weight: 170;
font-size: 12px;
font-size: 15px;
line-height: 20px;
text-transform: uppercase;
color: black;
background: linear-gradient(180deg, #D9D9D9 0%, rgba(217, 217, 217, 0.51) 0%);
}
button{
padding:5px 5px 5px 5px;
}

.content {
Expand Down Expand Up @@ -152,7 +157,6 @@ header {
font-weight: 170;
font-size: 20px;
line-height: 30px;

text-transform: uppercase;
color: black;

Expand Down
3 changes: 1 addition & 2 deletions charinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getReviews() {
xhr1.send();
}

// 2 PUT, update 리뷰 수정 함수
// 2 PUT, update 리뷰 수정 함수 > 미루기
function updateReview(reviewId) {
var modifiedReviewContent = prompt("수정된 리뷰 내용을 입력하세요:");
if (modifiedReviewContent !== null) {
Expand Down Expand Up @@ -71,7 +71,6 @@ function updateReview(reviewId) {
}

//3 delete, REview

var deleteButtons = document.querySelectorAll(".deleteButton");
deleteButtons.forEach(function (deleteButton) {
deleteButton.addEventListener("click", function () {
Expand Down

0 comments on commit 16f36d7

Please sign in to comment.