Interactive Graph Visualizer
-
See graph algorithms in action! Experiment with different graph structures and watch as the algorithms traverse them step by step.
+
See graph algorithms in action! Experiment with different graph structures
+ and watch as the algorithms traverse them step by step.
1
2
@@ -187,13 +197,13 @@
Contact Us
@@ -262,15 +272,15 @@
Contact Us
const btn = document.getElementById("contactUsBtn");
const span = document.getElementsByClassName("close")[0];
- btn.onclick = function() {
+ btn.onclick = function () {
modal.style.display = "block";
}
- span.onclick = function() {
+ span.onclick = function () {
modal.style.display = "none";
}
- window.onclick = function(event) {
+ window.onclick = function (event) {
if (event.target == modal) {
modal.style.display = "none";
}
@@ -539,19 +549,21 @@
Contact Us
top: 0;
width: 100%;
height: 100%;
- background-color: rgba(0,0,0,0.8);
+ background-color: rgba(0, 0, 0, 0.8);
overflow: auto;
}
.modal-content {
- background-color: #1e2124; /* Dark background color */
+ background-color: #1e2124;
+ /* Dark background color */
margin: 10% auto;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 90%;
max-width: 500px;
- color: #ffffff; /* White text color */
+ color: #ffffff;
+ /* White text color */
}
.close {
@@ -585,10 +597,12 @@
Contact Us
#contactForm textarea {
margin-bottom: 15px;
padding: 10px;
- border: 1px solid #36393f; /* Slightly lighter border */
+ border: 1px solid #36393f;
+ /* Slightly lighter border */
border-radius: 4px;
font-size: 16px;
- background-color: #2f3136; /* Dark input background */
+ background-color: #2f3136;
+ /* Dark input background */
color: #ffffff;
}
@@ -601,7 +615,8 @@
Contact Us
#closeConfirmation {
margin-top: 10px;
padding: 12px;
- background-color: #36393f; /* Slightly lighter button background */
+ background-color: #36393f;
+ /* Slightly lighter button background */
color: white;
border: none;
border-radius: 4px;
@@ -612,7 +627,8 @@
Contact Us
#contactForm button:hover,
#closeConfirmation:hover {
- background-color: #40444b; /* Lighter background on hover */
+ background-color: #40444b;
+ /* Lighter background on hover */
}
/* Improved modal title */
@@ -638,7 +654,8 @@
Contact Us
}
.footer {
- background-color: #1e2124; /* Dark background color */
+ background-color: #1e2124;
+ /* Dark background color */
color: #fff;
padding: 20px 0;
}
@@ -650,16 +667,18 @@
Contact Us
}
.footer-links a {
- color: #ffffff; /* White color for all links */
+ color: #ffffff;
+ /* White color for all links */
text-decoration: none;
margin: 0 10px;
transition: opacity 0.3s ease;
}
.footer-links a:hover {
- opacity: 0.8; /* Slight opacity change on hover for visual feedback */
+ opacity: 0.8;
+ /* Slight opacity change on hover for visual feedback */
}