AviderMin 3 weeks ago
parent b52a05fe39
commit a3354f2331

@ -56,12 +56,21 @@
Prostick.style.width = pro + '%' Prostick.style.width = pro + '%'
}) })
document.addEventListener("DOMContentLoaded",function(){ document.addEventListener("DOMContentLoaded",function(){
const imgs =[]; let imgs =[];
const carouselImages = document.querySelector('.banner img'); const carouselImages = document.querySelector('.banner img');
const dotsContainer = document.querySelector('.dots-container'); const dotsContainer = document.querySelector('.dots-container');
let currentIndex = 0; 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> </script>
</body> </body>

Loading…
Cancel
Save