Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDT5 이은지 1차과제 리팩토링-2 #82

Open
wants to merge 4 commits into
base: KDT5_LeeEunJi
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ button {
position: relative;
}

.swiper__all-btn {
.swiper__allBtn {
display: flex;
justify-content: space-around;
align-items: center;
Expand Down
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -725,9 +725,9 @@ <h4>혜택</h4>
<section class="swiper-container">
<div class="swiper__event-title-area">
<div class="swiper__event-title">EVENT</div>
<div class="swiper__allbtn">
<div class="swiper__allbtn-text">전체보기</div>
<div class="swiper__allbtn-icon">></div>
<div class="swiper__allBtn">
<div class="swiper__allBtn-text">전체보기</div>
<div class="swiper__allBtn-icon">></div>
</div>
</div>

Expand Down Expand Up @@ -807,9 +807,9 @@ <h4>혜택</h4>
<div class="special__section-cover">
<div class="special__section-title-area">
<div class="special__section-title">특별관</div>
<div class="swiper__allbtn">
<div class="swiper__allbtn-text">전체보기</div>
<div class="swiper__allbtn-icon">></div>
<div class="swiper__allBtn">
<div class="swiper__allBtn-text">전체보기</div>
<div class="swiper__allBtn-icon">></div>
</div>
</div>

Expand Down
2 changes: 0 additions & 2 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,11 @@ function chartSwitch(event) {
movieSchedule.classList.remove("chart-strong");
movieSwiper[1].classList.add("btn-switch");
movieSwiper[0].classList.remove("btn-switch");
console.log("무비차트");
} else if (eventTarget === movieSchedule) {
eventTarget.classList.add("chart-strong");
movieChart.classList.remove("chart-strong");
movieSwiper[0].classList.add("btn-switch");
movieSwiper[1].classList.remove("btn-switch");
console.log("상영예정작");
}
}
movieChart.addEventListener("click", chartSwitch);
Expand Down