Skip to content

Commit f3910db

Browse files
authored
Feat: Lesson 22 CodeDifferently Website Copy for Tommy Tran (#565)
* feat:Lesson_22 HTML copycat website added for Tommy Tran * feat: lesson_22 added more styles to css
1 parent 915cd38 commit f3910db

File tree

4 files changed

+337
-0
lines changed

4 files changed

+337
-0
lines changed

lesson_22/tommy_tran/hero.jpg

329 KB
Loading

lesson_22/tommy_tran/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/tommy_tran/logo.png

29.2 KB
Loading

lesson_22/tommy_tran/style.css

Lines changed: 274 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,274 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
2+
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
3+
4+
* {
5+
margin: 0;
6+
padding: 0;
7+
box-sizing: border-box;
8+
}
9+
10+
/* Body and General Styling */
11+
body {
12+
font-family: 'Poppins', sans-serif;
13+
background-color: #f4f4f4;
14+
color: #333;
15+
line-height: 1.6;
16+
}
17+
18+
/* Header Styling */
19+
.header {
20+
color: #fff;
21+
padding: 20px 0;
22+
display: flex;
23+
justify-content: space-between;
24+
align-items: center;
25+
padding-left: 20px;
26+
padding-right: 20px;
27+
position: sticky;
28+
top: 0;
29+
background-color: white;
30+
z-index: 1000;
31+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
32+
padding-bottom: 15;
33+
}
34+
35+
.header-logo img {
36+
width: 225.5px;
37+
height: 75px;
38+
margin-top: 8;
39+
margin-left: 9;
40+
}
41+
42+
.header-top-menu {
43+
list-style: none;
44+
display: flex;
45+
}
46+
47+
.header-top-menu li {
48+
margin-right: 20px;
49+
}
50+
51+
.header-top-menu a {
52+
color: #000000;
53+
text-decoration: underline;
54+
text-decoration-color: #f47026;
55+
text-underline-offset: 5px;
56+
text-underline-position: below;
57+
text-decoration-thickness: 2px;
58+
font-size: 16px;
59+
transition: color 0.3s;
60+
text-transform: uppercase;
61+
font-weight: 600;
62+
padding-right: 100;
63+
padding-left: 100;
64+
}
65+
66+
.header-cta .sign-up-button {
67+
background-color: #f47026;
68+
color: #fff;
69+
padding: 0 27.2 15;
70+
border-radius: 5px;
71+
text-decoration: none;
72+
font-weight: 600;
73+
transition: background-color 0.3s;
74+
-webkit-border-radius: 4px;
75+
box-shadow: none;
76+
margin-right: 78;
77+
}
78+
79+
/* Hero Section */
80+
.hero-section {
81+
82+
background-image: url('https://codedifferently.com/wp-content/uploads/2020/07/codedifferentlyheader.jpg');
83+
background-size: cover;
84+
background-position: center;
85+
padding: 20px 0;
86+
position: relative;
87+
color: #fff;
88+
align-items: flex-start;
89+
height: 100vh;
90+
margin: 0;
91+
}
92+
93+
.hero-overlay {
94+
position: absolute;
95+
top: 0;
96+
left: 0;
97+
right: 0;
98+
bottom: 0;
99+
z-index: 1;
100+
}
101+
102+
.hero-content {
103+
position: relative;
104+
z-index: 2;
105+
max-width: 800px;
106+
margin: 0;
107+
padding: 20px;
108+
text-align: left;
109+
}
110+
111+
/* Hero Title */
112+
.hero-title {
113+
padding-top: 115;
114+
font-family: 'Montserrat', sans-serif;
115+
font-size: 54px;
116+
font-weight: 800;
117+
line-height: 1.15;
118+
color: white;
119+
margin-bottom: 20px;
120+
text-align: left;
121+
margin-left: -20;
122+
}
123+
124+
.hero-title em.highlight {
125+
padding-left: 3;
126+
font-family: inherit;
127+
font-weight: 800;
128+
font-size: inherit;
129+
color: #fff;
130+
position: relative;
131+
display: inline-block;
132+
font-style: normal;
133+
}
134+
135+
.hero-title em.highlight::after {
136+
content: "";
137+
position: absolute;
138+
left: 0;
139+
bottom: 5px;
140+
width: 100.6%;
141+
height: 14.95px;
142+
background-color: #ff7f32; /* Orange underline for emphasis */
143+
z-index: -1;
144+
}
145+
146+
/* Hero Text */
147+
.hero-text {
148+
font-size: 1.2rem;
149+
font-weight: 400;
150+
color: #fff;
151+
padding-bottom: 20px;
152+
padding-top: 20px;
153+
line-height: 1.5;
154+
margin-left: 80px;
155+
text-align: left;
156+
position: relative;
157+
justify-content: right;
158+
transform: translateX(51px);
159+
}
160+
.hero-text::after{
161+
content: "";
162+
position: absolute;
163+
background-color: #243e90;
164+
top: -3;
165+
bottom: 0;
166+
left: -170;
167+
width: 980px;
168+
z-index: -1;
169+
}
170+
171+
.hero-text span {
172+
font-weight: 600;
173+
color: #ff7f32;
174+
}
175+
176+
/* Programs Section */
177+
.programs-section {
178+
background-color: #fff;
179+
padding: 60px 20px;
180+
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
181+
}
182+
183+
.programs-section h2 {
184+
margin-left: 98;
185+
padding-top: 86;
186+
font-family: 'Montserrat';
187+
font-size: 34px;
188+
line-height: 34px;
189+
margin-bottom: 40px;
190+
font-weight: 900;
191+
text-align: left;
192+
position: relative;
193+
z-index: 1;
194+
}
195+
196+
.programs-section h2 em.highlight{
197+
font-style: normal;
198+
color: #444;
199+
}
200+
201+
.programs-section h2 em.highlight::after {
202+
content: "";
203+
position: absolute;
204+
left: 75.5;
205+
bottom: 0px;
206+
width: 184;
207+
height: 10px;
208+
background-color: #ff7f32; /* Orange underline for emphasis */
209+
z-index: -1;
210+
}
211+
212+
.programs {
213+
display: grid;
214+
grid-template-columns: 1fr 1fr;
215+
gap: 20px;
216+
list-style: none;
217+
padding: 0;
218+
margin-left: 83;
219+
margin-right: 83;
220+
}
221+
222+
.program:nth-child(1),
223+
.program:nth-child(3) {
224+
grid-column: 1;
225+
}
226+
227+
.program:nth-child(2),
228+
.program:nth-child(4) {
229+
grid-column: 2;
230+
}
231+
232+
.program {
233+
padding: 15px;
234+
border-radius: 8px;
235+
}
236+
.program h3 {
237+
font-family: 'Montserrat', sans-serif;
238+
font-size: 22px;
239+
line-height: 34px;
240+
font-weight: 700;
241+
margin-bottom: 30px;
242+
color: #444;
243+
}
244+
245+
.program p {
246+
font-size: 16px;
247+
color: #666;
248+
}
249+
/* Footer */
250+
.footer {
251+
border-top: 1px solid #ff7f32;
252+
text-align: center;
253+
font-family: 'Poppins', sans-serif;
254+
font-weight: 400;
255+
line-height: 22px;
256+
font-style: normal;
257+
font-size: 14px;
258+
padding: 54px 0;
259+
position: relative;
260+
background-color: #fff;
261+
color: rgb(60, 60, 60);
262+
263+
}
264+
.footer::before {
265+
content: "";
266+
position: absolute;
267+
top: 0;
268+
left: 0;
269+
width: 100%;
270+
height: 1.5px;
271+
background: transparent;
272+
box-shadow: 0px 4px 20px rgba(0, 0, 0, 5);
273+
z-index: 2;
274+
}

0 commit comments

Comments
 (0)