diff --git a/c_quiz.html b/c_quiz.html new file mode 100644 index 0000000..6d0a2a1 --- /dev/null +++ b/c_quiz.html @@ -0,0 +1,105 @@ + + + + + + Coffee Quiz ☕ + + + + +
+

Find Your Perfect Coffee! ☕

+ +
+ + + + + + + + + + +
+ +
+
+ + + + + diff --git a/cards.html b/cards.html new file mode 100644 index 0000000..f44c2ad --- /dev/null +++ b/cards.html @@ -0,0 +1,189 @@ + + + + + + Coffee Memory Game + + + + +

Coffee Memory Game

+

Click the button to preview all cards.

+ +
+ + + + + diff --git a/guess_g.html b/guess_g.html new file mode 100644 index 0000000..2f04180 --- /dev/null +++ b/guess_g.html @@ -0,0 +1,243 @@ + + + + + + 10-Question Guess the Dish Quiz + + + +

Guess the Dish Quiz

+
+
+ +
+ +
+ +
+ +
+ + + + diff --git a/index.html b/index.html new file mode 100644 index 0000000..039f7b8 --- /dev/null +++ b/index.html @@ -0,0 +1,59 @@ + + + + + + Cylindrical Progress Bar + + + + +
+
+
+
+
+
+
+ + + diff --git a/script.js b/script.js new file mode 100644 index 0000000..5c74f63 --- /dev/null +++ b/script.js @@ -0,0 +1,14 @@ +let currentStep = 0; + +function nextStep() { + const steps = document.querySelectorAll(".step"); + const progressBar = document.querySelector(".progress-bar"); + + if (currentStep < steps.length) { + // Mark the current step as completed + steps[currentStep].classList.add("completed"); + // Update progress bar width based on number of steps completed + progressBar.style.width = ((currentStep + 1) / steps.length) * 100 + "%"; + currentStep++; + } +} diff --git a/style.css b/style.css new file mode 100644 index 0000000..f91eccd --- /dev/null +++ b/style.css @@ -0,0 +1,74 @@ +body { + font-family: Arial, sans-serif; + text-align: center; + background-color: #f8ebe4; + margin: 0; + padding: 20px; + } + + .container { + max-width: 600px; + margin: 0 auto; + } + + h2 { + color: #6f4e37; + } + + /* Pink Progress Bar */ + .progress-container { + position: relative; + width: 100%; + height: 15px; + background-color: #ffd1dc; /* light pink background */ + border-radius: 10px; + margin-bottom: 40px; + overflow: hidden; + } + + .progress-bar { + position: absolute; + height: 100%; + width: 0%; + background-color: #ff69b4; /* bright pink */ + border-radius: 10px; + transition: width 0.5s ease-in-out; + } + + /* Step markers below the bar */ + .steps { + display: flex; + justify-content: space-between; + margin-bottom: 20px; + } + + .step { + width: 22%; + padding: 10px; + background-color: #ffd1dc; + color: #6f4e37; + border-radius: 10px; + font-weight: bold; + transition: background-color 0.3s, color 0.3s; + } + + .step.completed { + background-color: #ff69b4; + color: white; + } + + /* Button styling */ + button { + background-color: #ff69b4; + color: white; + border: none; + padding: 10px 20px; + font-size: 16px; + border-radius: 5px; + cursor: pointer; + } + + button:hover { + background-color: #e05a9c; + } + \ No newline at end of file