14 lines
447 B
JavaScript
14 lines
447 B
JavaScript
{1792e189c4121203a4220c2a220f3bc0d9ca4ad2 true 447 main.js 0xc00b083180}
function imgSlider(anything){
|
|
document.querySelector('.starbucks').src = anything;
|
|
}
|
|
function changeCircleColor(color){
|
|
const circle = document.querySelector('.circle');
|
|
circle.style.background = color;
|
|
}
|
|
|
|
function toggleMenu(){
|
|
const menuToggle = document.querySelector('.toggle');
|
|
const navigation = document.querySelector('.navigation');
|
|
menuToggle.classList.toggle('active');
|
|
navigation.classList.toggle('active');
|
|
} |