diff --git a/index.html b/index.html index fc49ab1..4b9921e 100644 --- a/index.html +++ b/index.html @@ -1,369 +1,206 @@ - - - - Badge Website - - - - - - - - - - - -
-
- - -
-
- -
-
-
- Badge Image -
-

Season of AI | Beginner AI Learner

-

Awarded to: hello.rajat.rajput@gmail.com

-

- Issued on: Jul 28, 2024 at - 1:11 AM -

-
- - -
-
- -
-
- Badge Image -
-

Season of AI | Intermediate AI Learner

-

Awarded to: example.user@example.com

-

- Issued on: Sep 17, 2024 at - 3:55 PM -

-
- - -
-
-
-
- Badge Image -
-

Season of AI | Intermediate AI Learner

-

Awarded to: example.user@example.com

-

- Issued on: Sep 17, 2024 at - 3:55 PM -

-
- - -
-
-
-
- Badge Image -
-

Season of AI | Intermediate AI Learner

-

Awarded to: example.user@example.com

-

- Issued on: Sep 17, 2024 at - 3:55 PM -

-
- - -
-
-
-
- Badge Image -
-

Season of AI | Intermediate AI Learner

-

Awarded to: example.user@example.com

-

- Issued on: Sep 17, 2024 at - 3:55 PM -

-
- - -
-
- -
-
- Badge Image -
-

Season of AI | Advance AI Learner

-

Awarded to: example.user@example.com

-

- Issued on: Dec 17, 2024 at - 8:55 PM -

-
- - -
-
-
- - + .badge button { + background-color: #007BFF; + color: white; + border: none; + padding: 10px; + border-radius: 5px; + cursor: pointer; + } + .badge button:hover { + background-color: #0056b3; + } + /* Search bar styles */ + .search-container { + padding: 20px; + text-align: center; + } + .search-container input { + padding: 10px; + width: 200px; + border: 1px solid #ccc; + border-radius: 5px; + } + /* Responsive styles */ + @media (max-width: 768px) { + .navbar-links { + display: none; /* Hide links initially */ + flex-direction: column; + position: absolute; + background-color: #333; + top: 50px; + right: 0; + width: 200px; + } + .navbar-links.active { + display: flex; /* Show links when active */ + } + .hamburger { + display: flex; /* Show hamburger on small screens */ + } + .badges { + flex-direction: column; /* Stack badges vertically on small screens */ + align-items: center; + } + } + + + + + + +
+ +
+ +
+
+

Badge 1

+

Description for Badge 1.

+ +
+
+

Badge 2

+

Description for Badge 2.

+ +
+
+

Badge 3

+

Description for Badge 3.

+ +
+
+

Badge 4

+

Description for Badge 4.

+ +
+
+ + + + - - + badges.forEach(badge => { + const badgeName = badge.querySelector('h3').textContent.toLowerCase(); + if (badgeName.includes(input)) { + badge.style.display = 'block'; // Show badge + } else { + badge.style.display = 'none'; // Hide badge + } + }); + } + - - - +