|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>100 Days of Python - Videos & Notes</title> |
| 7 | + <link rel="stylesheet" href="style.css"> |
| 8 | + <style> |
| 9 | + @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap'); |
| 10 | + body { |
| 11 | + font-family: 'Poppins', sans-serif; |
| 12 | + margin: 0; |
| 13 | + padding: 0; |
| 14 | + background: linear-gradient(to right, #6a11cb, #2575fc); |
| 15 | + text-align: center; |
| 16 | + color: white; |
| 17 | + } |
| 18 | + header { |
| 19 | + background: rgba(0, 0, 0, 0.9); |
| 20 | + color: white; |
| 21 | + padding: 20px; |
| 22 | + font-size: 28px; |
| 23 | + font-weight: bold; |
| 24 | + text-transform: uppercase; |
| 25 | + letter-spacing: 2px; |
| 26 | + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4); |
| 27 | + } |
| 28 | + main { |
| 29 | + padding: 20px; |
| 30 | + } |
| 31 | + .card { |
| 32 | + background: white; |
| 33 | + color: black; |
| 34 | + padding: 20px; |
| 35 | + margin: 15px auto; |
| 36 | + width: 80%; |
| 37 | + max-width: 600px; |
| 38 | + border-radius: 15px; |
| 39 | + box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3); |
| 40 | + transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; |
| 41 | + } |
| 42 | + .card:hover { |
| 43 | + transform: scale(1.08); |
| 44 | + box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4); |
| 45 | + } |
| 46 | + .card h2 { |
| 47 | + color: #6a11cb; |
| 48 | + } |
| 49 | + .card a { |
| 50 | + text-decoration: none; |
| 51 | + font-weight: bold; |
| 52 | + display: inline-block; |
| 53 | + padding: 12px 18px; |
| 54 | + margin: 5px; |
| 55 | + border-radius: 8px; |
| 56 | + transition: 0.3s; |
| 57 | + } |
| 58 | + .card a:first-of-type { |
| 59 | + background: #ff5f6d; |
| 60 | + color: white; |
| 61 | + } |
| 62 | + .card a:last-of-type { |
| 63 | + background: #ffc371; |
| 64 | + color: white; |
| 65 | + } |
| 66 | + .card a:hover { |
| 67 | + opacity: 0.8; |
| 68 | + } |
| 69 | + </style> |
| 70 | +</head> |
| 71 | +<body> |
| 72 | + <header> |
| 73 | + <h1>📚 100 Days of Python - Video & Notes 🎥</h1> |
| 74 | + </header> |
| 75 | + |
| 76 | + <main> |
| 77 | + <div id="content"></div> |
| 78 | + </main> |
| 79 | + |
| 80 | + <script> |
| 81 | + document.addEventListener("DOMContentLoaded", function() { |
| 82 | + const content = document.getElementById("content"); |
| 83 | + const days = [ |
| 84 | + { day: 1, topic: "Introduction to Python", video: "https://youtu.be/YNwIaPlSuFI", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Day%201/Day%201%20Class%20Notes.md" }, |
| 85 | + // { day: 2, topic: "Variables & Data Types", video: "https://www.youtube.com/watch?v=YOUR_VIDEO_ID", notes: "https://github.com/CodeWithTanim/100-Days-of-Python/blob/main/Notes/Day2.md" } |
| 86 | + ]; |
| 87 | + |
| 88 | + days.forEach(day => { |
| 89 | + const card = document.createElement("div"); |
| 90 | + card.classList.add("card"); |
| 91 | + card.innerHTML = ` |
| 92 | + <h2>Day ${day.day}: ${day.topic}</h2> |
| 93 | + <p><a href="${day.video}" target="_blank">📺 Watch Video</a></p> |
| 94 | + <p><a href="${day.notes}" target="_blank">📖 View Notes</a></p> |
| 95 | + `; |
| 96 | + content.appendChild(card); |
| 97 | + }); |
| 98 | + }); |
| 99 | + </script> |
| 100 | +</body> |
| 101 | +</html> |
0 commit comments