skip to Main Content

Html – Problem with spin in synchronization not appearing with loading background image

function hideLoadingAnimation() { console.log("Yükleme animasyonu gizleniyor, ana içerik gösteriliyor"); var loadingAnimation = document.getElementById("loading-animation"); var mainContent = document.getElementById("main-content"); loadingAnimation.style.display = "none"; mainContent.style.display = "block"; } window.onload = function() { console.log("Sayfa tamamen yüklendi"); hideLoadingAnimation(); }; #main-content { display: none; } * {…

VIEW QUESTION

Javascript – Sending an object with Next.js and it is showing up as undefined on the page I am sending it to

I am sending an object called footprintsData from my question screen to a result screen as shown below: const footprintsData = { carFootprint: roundedCarFootprint, electricityFootprint: roundedElectricityFootprint, gasFootprint: roundedGasFootprint, commuteFootprint: roundedCommuteFootprint, airTravelFootprint: roundedAirTravelFootprint, totalFootprint: parseFloat(totalFootprint.toFixed(2)), }; router.push({ pathname: "/results", query: {…

VIEW QUESTION

How to write clean HTML?

I am learning HTML and CSS. Some teachers say that you should use lots of divs and classes, while others say the opposite, advising not to use too many divs and classes. Which one should I use? examples: <section class="section-pricing">…

VIEW QUESTION
Back To Top
Search