Skip to content

Commit

Permalink
Update visual.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaser-123 authored Jul 6, 2024
1 parent ce488cd commit c1bd32c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions visual.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<title>Sorting Algorithms Visualization</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
Expand Down Expand Up @@ -100,6 +101,7 @@
</style>
</head>
<body>
<div id="Loader"></div>
<div class="header">
<h1>Sorting Algorithms Visualization</h1>
</div>
Expand Down Expand Up @@ -537,6 +539,12 @@ <h2 id="heading">SORTING VISUALIZATION</h2>
document.getElementById("space-complexity").textContent = `Space Complexity: ${complexity.space}`;
}
</script>
<script>
var loader = document.getElementById("Loader");
window.addEventListener("load", function(){
loader.style.display = "none";
})
</script>
</body>
</html>

0 comments on commit c1bd32c

Please sign in to comment.