AviderMin 3 weeks ago
parent b52a05fe39
commit a3354f2331

@ -56,12 +56,21 @@
Prostick.style.width = pro + '%'
})
document.addEventListener("DOMContentLoaded",function(){
const imgs =[];
let imgs =[];
const carouselImages = document.querySelector('.banner img');
const dotsContainer = document.querySelector('.dots-container');
let currentIndex = 0;
})
document.addEventListener("DOMContentLoaded",function(){
let newszyLis = [];
const liContent = document.querySelector('.newszy li');
document.write(`<li>${newszyLis.text} </li>`)
})
document.addEventListener("DOMContentLoaded",function(){
let newsInfo = [];
const pContent = document.querySelector('.newsinfo p');
document.write(`<p>${newsInfo.text} </p>`)
})
</script>
</body>

Loading…
Cancel
Save