-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js
35 lines (27 loc) · 883 Bytes
/
app.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const hamburgerBtn = document.querySelector('#hamburgerBtn');
const hamburgerLinks = document.querySelector('#hamburgerLinks');
const moblinks = document.querySelector('#navMob');
const body = document.querySelector('#body')
hamburgerBtn.addEventListener("click", () => {
hamburgerBtn.classList.toggle('active')
hamburgerLinks.classList.toggle('linkactive')
moblinks.classList.toggle('mobactive')
body.classList.toggle('hamburgerActive');
})
$(document).ready(function () {
$('.carousel').slick({
slidesToShow: 3,
infinite: true,
centerMode: true,
responsive: [
{
breakpoint: 600,
settings: {
slidesToShow: 1,
dots: true,
}
}
]
});
});
// Slick version 1.5.8