You are on page 1of 1

// function fadeOut() {

// const homeScreenContainer = document.querySelector(".secondary-container")


// if(homeScreen.style.opacity != '0'){
// homeScreen.style.opacity = '0';
// }
// if(homeScreen.style.opacity = '0'){
// setTimeout(() => {
// homeScreenContainer.removeChild(homeScreen);
// },1000)
// }
// };

// function fadeIn() {
// const homeScreenContainer = document.querySelector(".secondary-container")
// for (let i = 0; i < homeScreenContainer.childElementCount; i++) {
// if(homeScreenContainer.children[i] != homeScreen){
// homeScreenContainer.appendChild(homeScreen);
// }
// }

// };

// function showCyberSection() {
// fadeOut();
// let cyberSection = document.getElementById("cybersecurity-section");
// cyberSection.style.display = 'flex';
// cyberSection.classList.add("fadein-animation");
// cyberSection.style.opacity = '1 '
// }

You might also like