Skip to content

Commit 26c66d8

Browse files
authored
feat: adds David Smith Code Differently Website Replica for Lesson 22 (#571)
* feat: adds Code Differently Replica * Update style.css
1 parent 0190c2b commit 26c66d8

File tree

4 files changed

+326
-0
lines changed

4 files changed

+326
-0
lines changed

lesson_22/David CD Replica/hero.jpg

329 KB
Loading

lesson_22/David CD Replica/index.html

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<html>
2+
<head>
3+
<title>Homepage</title>
4+
<meta name="viewport" content="width=device-width, initial-scale=1" />
5+
<link rel="stylesheet" id="redux-google-fonts-salient_redux-css" href="https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&amp;ver=1597678827" type="text/css" media="all">
6+
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&#038;ver=1597678827' type='text/css' media='all' />
7+
<link rel="stylesheet" type="text/css" href="style.css">
8+
</head>
9+
<body>
10+
<header class="header">
11+
<div class="header-logo">
12+
<a href="index.html">
13+
<img src="logo.png" alt="Code Differently Logo" />
14+
</a>
15+
</div>
16+
<ul class="header-top-menu">
17+
<li><a href="#">Home</a></li>
18+
<li><a href="#">About</a></li>
19+
<li><a href="#">Contact</a></li>
20+
</ul>
21+
<div class="header-cta">
22+
<a class="sign-up-button" href="#">Sign Up</a>
23+
</div>
24+
</header>
25+
<div class="main">
26+
<div class="content">
27+
<article>
28+
<section class="hero-section">
29+
<div class="hero-overlay"></div>
30+
<div class="hero-content">
31+
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
32+
<div class="hero-text"><span>Code Differently</span> provides hands on training and education through coding classes that gives participants the technical and cognitive skills they need to excel in technology-driven workplaces.</div>
33+
</div>
34+
</section>
35+
<section class="programs-section">
36+
<h2>Our <em class="highlight">Programs</em></h2>
37+
<ul class="programs">
38+
<li class="program">
39+
<h3>1000 Kids Coding</h3>
40+
<p>The Code Differently 1000 Kids Coding program was created to expose New Castle County students to computing and programming. The 1000 Kids Coding courses are designed for all experience levels, no experience required.</p>
41+
</li>
42+
<li class="program">
43+
<h3>Return Ready</h3>
44+
<p>The Code Differently Workforce Training Initiatives were created to help individuals underrepresented in tech reinvent their skills to align with the changing workforce market. If you are ready to start your tech journey, join our talent community today.</p>
45+
</li>
46+
<li class="program">
47+
<h3>Pipeline DevShops</h3>
48+
<p>Pipeline DevShop is a youth work-based learning program. Youth participants experience working in a real software development environment while sharpening their technology and soft skills.</p>
49+
</li>
50+
<li class="program">
51+
<h3>Platform Programs</h3>
52+
<p>Platform programs are designed for high school graduates, college students, career changers, or professionals looking to develop the technology job readiness skills for today’s workforce.</p>
53+
</li>
54+
</ul>
55+
</section>
56+
</article>
57+
</div>
58+
</div>
59+
<footer class="footer">
60+
&copy; 2024 Code Differently
61+
</footer>
62+
</body>
63+
</html>

lesson_22/David CD Replica/logo.png

29.2 KB
Loading

lesson_22/David CD Replica/style.css

Lines changed: 263 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
em{
7+
font-style: normal;
8+
}
9+
10+
body {
11+
font-family: 'Poppins', sans-serif;
12+
background-color: #f8f8f8;
13+
color: #333;
14+
line-height: 1.6;
15+
}
16+
17+
.header {
18+
display: flex;
19+
align-items: center;
20+
padding: 1rem 2rem;
21+
justify-content: space-between;
22+
background-color: #fff;
23+
color: #000;
24+
padding-bottom: 100px;
25+
}
26+
27+
.header-logo img {
28+
height: 100px;
29+
margin-right: 26.734px;
30+
padding-top: 10%;
31+
padding: auto;
32+
}
33+
34+
.header-top-menu {
35+
list-style: none;
36+
display: flex;
37+
justify-content: space-between;
38+
gap: 10rem;
39+
padding-top: 50px;
40+
}
41+
42+
.header-top-menu li {
43+
font-size: 1.4rem;
44+
}
45+
46+
.header-top-menu a {
47+
color: #000000;
48+
text-decoration: none;
49+
transition: color 0.3s;
50+
}
51+
52+
.header-top-menu a:hover {
53+
color: #f47d26;
54+
}
55+
56+
.header-cta .sign-up-button {
57+
background-color: #f47d26;
58+
color: #fff;
59+
text-decoration: none;
60+
font-weight: 600;
61+
display:flex;
62+
border-radius: 3px;
63+
margin-top: 50px;
64+
padding-left: 20px;
65+
padding-right: 20px;
66+
padding-top: 10px;
67+
padding-bottom: 10px;
68+
69+
70+
}
71+
72+
.header-cta{
73+
display: flex;
74+
}
75+
76+
.main {
77+
background-color: #fff;
78+
}
79+
80+
.hero-section {
81+
position:relative;
82+
background-image: url('hero.jpg');
83+
width: 100%;
84+
height: 750px;
85+
background-position: top;
86+
color: #fff;
87+
display:flex;
88+
flex-direction:column;
89+
justify-content: center;
90+
background-size: cover;
91+
}
92+
93+
.hero-overlay {
94+
position: absolute;
95+
top: 0;
96+
left: 0;
97+
right: 0;
98+
bottom: 0;
99+
background: rgba(0, 0, 0, 0.2);
100+
z-index: 1;
101+
}
102+
103+
.hero-content {
104+
position: relative;
105+
z-index: 2;
106+
}
107+
108+
.hero-title {
109+
visibility: visible;
110+
box-sizing: border-box;
111+
margin: 0;
112+
padding-top: 10%;
113+
border: 0;
114+
vertical-align: baseline;
115+
margin-bottom: 7px;
116+
letter-spacing: 0;
117+
-webkit-font-smoothing: antialiased;
118+
font-family: Montserrat;
119+
font-weight: 800;
120+
font-size: 54px;
121+
line-height: 62px;
122+
color: #fff;
123+
}
124+
.hero-title h1{
125+
font-size: 54px;
126+
line-height: 62px;
127+
margin-bottom: 7px;
128+
}
129+
130+
.hero-title em.highlight {
131+
font-weight: 900;
132+
font-size: 48px;
133+
color: white;
134+
position: relative;
135+
display: flex;
136+
max-width: 24%;
137+
text-wrap:nowrap;
138+
}
139+
140+
.hero-title em.highlight::after {
141+
content: "";
142+
position: absolute;
143+
left: 0;
144+
bottom: 15%;
145+
width: 97%;
146+
height: 10px;
147+
background-color: #f47d26;
148+
z-index: -1;
149+
}
150+
151+
.hero-text {
152+
font-size: 1.2rem;
153+
font-weight: 400;
154+
color: #fff;
155+
background-color: #243e90;
156+
margin-top: 10px;
157+
padding: 40px;
158+
padding-left: 136px;
159+
padding-right: 15%;
160+
border-radius: 1px;
161+
line-height: 1.5;
162+
align-content: center;
163+
max-width: 60%;
164+
}
165+
166+
.hero-text span {
167+
font-weight: 600;
168+
color: #f47d26;
169+
}
170+
171+
.programs-section h2 {
172+
padding-top: 100px;
173+
padding-left: 266px;
174+
font-family: 'Montserrat', sans-serif;
175+
font-weight: 900;
176+
font-size: 36px;
177+
color: #333;
178+
margin-bottom: 20px;
179+
position: relative;
180+
z-index: 1;
181+
padding-bottom: 1%;
182+
}
183+
184+
.programs-section h2 em.highlight {
185+
font-style: normal;
186+
color: #333;
187+
position: relative;
188+
display: inline-block;
189+
}
190+
191+
.programs-section h2 em.highlight::after {
192+
content: "";
193+
position: absolute;
194+
left: 0;
195+
bottom:20%;
196+
width: 100%;
197+
height: 10px;
198+
background-color: #f47d26;
199+
z-index: -1;
200+
}
201+
202+
.programs-section .programs {
203+
list-style-type: none;
204+
display: flex;
205+
flex-wrap: wrap;
206+
}
207+
208+
.programs-section .programs .program {
209+
padding-left: 266px;
210+
padding-bottom: 15px;
211+
background-color: #ffffff;
212+
width:43%;
213+
}
214+
215+
216+
.programs-section .program h3 {
217+
font-family: 'Montserrat', sans-serif;
218+
font-weight: 700;
219+
font-size: 20px;
220+
color: #333;
221+
margin-top: 0;
222+
}
223+
224+
.programs-section .program p {
225+
font-family: 'Poppins', sans-serif;
226+
font-weight: 400;
227+
font-size: 16px;
228+
color: #666;
229+
line-height: 1.6;
230+
}
231+
232+
.programs-section .program button,
233+
.programs-section .program a.button {
234+
font-family: 'Poppins', sans-serif;
235+
font-weight: 600;
236+
font-size: 14px;
237+
color: #333;
238+
border: 2px solid #333;
239+
border-radius: 5px;
240+
padding: 8px 16px;
241+
background-color: transparent;
242+
cursor: pointer;
243+
margin-top: 15px;
244+
text-transform: uppercase;
245+
text-align: center;
246+
text-decoration: none;
247+
transition: all 0.3s ease;
248+
display: inline-block;
249+
}
250+
251+
.programs-section .program button:hover,
252+
.programs-section .program a.button:hover {
253+
background-color: #333;
254+
color: #fff;
255+
}
256+
257+
.footer {
258+
background-color: #222;
259+
color: #fff;
260+
text-align: center;
261+
padding: 1rem 0;
262+
margin-top: 4rem;
263+
}

0 commit comments

Comments
 (0)