-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlearning.html
More file actions
177 lines (150 loc) · 3.42 KB
/
learning.html
File metadata and controls
177 lines (150 loc) · 3.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Design Patterns | Mohit Wankhade</title>
<style>
:root {
--bg-main: #020617;
--bg-card: rgba(30, 41, 59, 0.9);
--accent: #8b5cf6;
--accent-2: #22d3ee;
--text-main: #e5e7eb;
--text-muted: #9ca3af;
--border-glass: rgba(255,255,255,0.08);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, sans-serif;
background: radial-gradient(circle at top, #1e293b, #020617);
color: var(--text-main);
line-height: 1.7;
}
/* NAVBAR */
.navbar {
position: sticky;
top: 0;
z-index: 1000;
background: linear-gradient(135deg, #7c3aed, #06b6d4);
}
.nav-container {
max-width: 1200px;
margin: auto;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.4rem;
font-weight: 700;
color: white;
}
.nav-links a {
margin: 0 12px;
text-decoration: none;
color: white;
font-weight: 500;
}
/* LAYOUT */
.container {
max-width: 1100px;
margin: auto;
padding: 40px 20px;
}
section {
background: var(--bg-card);
padding: 30px;
border-radius: 16px;
border: 1px solid var(--border-glass);
margin-bottom: 30px;
}
h1 {
font-size: 2.4rem;
margin-bottom: 20px;
color: var(--accent-2);
}
.pattern {
margin-bottom: 25px;
}
.pattern h3 {
color: var(--accent);
}
.date {
color: var(--text-muted);
font-style: italic;
margin-bottom: 10px;
}
ul {
padding-left: 20px;
}
footer {
text-align: center;
padding: 30px;
color: var(--text-muted);
}
</style>
</head>
<body>
<header class="navbar">
<div class="nav-container">
<div class="logo">Mohit Wankhade</div>
<nav class="nav-links">
<a href="index.html">Portfolio</a>
<a href="learning.html">Learning</a>
</nav>
</div>
</header>
<div class="container">
<section>
<h1>🧠 Design Patterns</h1>
<p>Tracking my journey of mastering design patterns for senior engineering roles.</p>
</section>
<!-- CREATIONAL -->
<section class="pattern">
<h3>Singleton Pattern</h3>
<p class="date">April 2026</p>
<ul>
<li>Ensures only one instance exists</li>
<li>Used in logging, caching</li>
<li>Thread-safe implementation is important</li>
</ul>
</section>
<section class="pattern">
<h3>Factory Pattern</h3>
<p class="date">April 2026</p>
<ul>
<li>Encapsulates object creation logic</li>
<li>Promotes loose coupling</li>
<li>Used in service creation layers</li>
</ul>
</section>
<!-- STRUCTURAL -->
<section class="pattern">
<h3>Decorator Pattern</h3>
<p class="date">Upcoming</p>
<ul>
<li>Adds behavior dynamically</li>
<li>Avoids subclass explosion</li>
</ul>
</section>
<!-- BEHAVIORAL -->
<section class="pattern">
<h3>Observer Pattern</h3>
<p class="date">Upcoming</p>
<ul>
<li>Publisher-subscriber model</li>
<li>Used in event-driven systems</li>
</ul>
</section>
</div>
<footer>
© 2026 Mohit Wankhade • Design Patterns Journey 🚀
</footer>
</body>
</html>