Skip to content

Commit 915cd38

Browse files
authored
feat: added template to mimic website as homework for lesson22 by Yemi (#564)
* feat: added template to mimic code differently website as homework for lesson_22 by Yemi * chore: removed commented code from the index file * chore: added css code for background underline
1 parent 6957625 commit 915cd38

File tree

4 files changed

+266
-0
lines changed

4 files changed

+266
-0
lines changed

lesson_22/oyeyemiJimoh/hero.jpg

329 KB
Loading

lesson_22/oyeyemiJimoh/index.html

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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>HOME - Together We Can Move The Needle Of Diversity In Tech.</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
<body>
10+
<!-- Header Section -->
11+
<header class="header">
12+
<div class="container">
13+
<div class="logo">
14+
<img src="logo.png" alt="Code Differently Logo">
15+
</div>
16+
<nav class="nav">
17+
<ul>
18+
<li><a href="#">Home</a></li>
19+
<li><a href="#">About</a></li>
20+
<li><a href="#">Services</a></li>
21+
<li><a href="#">Contact</a></li>
22+
</ul>
23+
</nav>
24+
</div>
25+
</header>
26+
27+
<section class="hero">
28+
<div class="hero-content">
29+
<h2 class="hero-text">Together we can move the needle of <em class="highlight thick">diversity in tech.</em></h2>
30+
<div class="hero-title"><strong><span style="color: #f47d26;">Code Differently</span></strong> 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>
31+
</div>
32+
</section>
33+
34+
<!-- Features Section -->
35+
<section class="features">
36+
<div class="container">
37+
<h2>Our <em class="highlight thick">Programs</em></h2>
38+
<div class="feature-cards">
39+
<div class="feature-card">
40+
<h3>1000 Kids Coding</h3>
41+
<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>
42+
43+
</div>
44+
<div class="feature-card">
45+
<h3>Return Ready</h3>
46+
<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>
47+
</div>
48+
<div class="feature-card">
49+
<h3>Pipeline DevShops</h3>
50+
<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>
51+
</div>
52+
<div class="feature-card">
53+
<h3>Platform Programs</h3>
54+
<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>
55+
</div>
56+
</div>
57+
</div>
58+
</section>
59+
60+
<!-- Footer Section -->
61+
<footer class="footer">
62+
<div class="container">
63+
<div class="footer-content">
64+
<p>&copy; 2024 Code Differently</p>
65+
</div>
66+
</div>
67+
</footer>
68+
</body>
69+
</html>

lesson_22/oyeyemiJimoh/logo.png

29.2 KB
Loading

lesson_22/oyeyemiJimoh/style.css

Lines changed: 197 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
/* Global Styles */
2+
* {
3+
margin: 0;
4+
padding: 0;
5+
box-sizing: border-box;
6+
}
7+
8+
body {
9+
font-family: 'Arial', sans-serif;
10+
line-height: 1.6;
11+
}
12+
13+
/* Container */
14+
.container {
15+
width: 90%;
16+
margin: 0 auto;
17+
}
18+
19+
/* Header Styles */
20+
.header {
21+
background-color: white;
22+
color: white;
23+
padding: 1rem 0;
24+
}
25+
26+
.header .logo img {
27+
width: 250px;
28+
height: auto;
29+
}
30+
31+
.nav ul {
32+
list-style: none;
33+
display: flex;
34+
justify-content: flex-end;
35+
}
36+
37+
.nav ul li {
38+
margin-left: 2rem;
39+
}
40+
41+
.nav ul li a {
42+
text-decoration: none;
43+
color: black;
44+
font-weight: bold;
45+
}
46+
47+
.nav ul li a:hover {
48+
color: #f1c40f;
49+
}
50+
51+
/* Hero Section */
52+
.hero {
53+
background-image: url('hero.jpg');
54+
background-attachment: fixed;
55+
background-size: cover;
56+
background-position: center;
57+
color: white;
58+
padding: 5rem 0;
59+
text-align: center;
60+
61+
}
62+
63+
.hero h1 {
64+
font-size: 3rem;
65+
margin-bottom: 1rem;
66+
}
67+
68+
.hero p {
69+
font-size: 1.25rem;
70+
margin-bottom: 2rem;
71+
}
72+
73+
.cta-btn {
74+
background-color: #f1c40f;
75+
color: #333;
76+
padding: 0.75rem 2rem;
77+
text-decoration: none;
78+
font-weight: bold;
79+
border-radius: 30px;
80+
transition: background-color 0.3s;
81+
}
82+
83+
.cta-btn:hover {
84+
background-color: #e0b90f;
85+
}
86+
87+
/* Features Section */
88+
.features {
89+
background-color: #f4f4f4;
90+
padding: 4rem 0;
91+
}
92+
93+
.features h2 {
94+
text-align: center;
95+
font-size: 2.5rem;
96+
margin-bottom: 3rem;
97+
}
98+
99+
.feature-cards {
100+
display: flex;
101+
justify-content: space-between;
102+
gap: 2rem;
103+
}
104+
105+
.feature-card {
106+
background-color: white;
107+
padding: 2rem;
108+
border-radius: 10px;
109+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
110+
flex: 1;
111+
text-align: center;
112+
}
113+
114+
.feature-card h3 {
115+
font-size: 1.75rem;
116+
margin-bottom: 1rem;
117+
}
118+
119+
.feature-card p {
120+
font-size: 1rem;
121+
}
122+
123+
/* Footer Styles */
124+
.footer {
125+
background-color: white;
126+
color: #333;
127+
padding: 2rem 0;
128+
text-align: center;
129+
}
130+
131+
.footer .social-links {
132+
list-style: none;
133+
display: flex;
134+
justify-content: center;
135+
gap: 1.5rem;
136+
margin-top: 1rem;
137+
}
138+
139+
.footer .social-links li a {
140+
text-decoration: none;
141+
color: white;
142+
font-size: 1.25rem;
143+
}
144+
145+
.footer .social-links li a:hover {
146+
color: white;
147+
/* color: #f1c40f; */
148+
}
149+
150+
/* Responsive Design */
151+
@media (max-width: 768px) {
152+
.feature-cards {
153+
flex-direction: column;
154+
}
155+
156+
.nav ul {
157+
flex-direction: column;
158+
align-items: center;
159+
}
160+
161+
.nav ul li {
162+
margin: 1rem 0;
163+
}
164+
}
165+
166+
.hero-text{
167+
display: box;
168+
font-size: 40pt;
169+
padding: 2rem 0;
170+
text-align: left;
171+
width: 1100px;
172+
line-height: 42pt;
173+
}
174+
175+
.hero-title{
176+
background-color: #243e90 !important;
177+
margin-left: 1rem;
178+
text-align: left;
179+
padding: 2rem 9rem;
180+
width: 1200px;
181+
font-size: 16pt;
182+
line-height: 20pt;
183+
}
184+
185+
.thick {
186+
text-decoration-skip-ink: none;
187+
text-decoration-line: underline;
188+
text-decoration-style: solid;
189+
text-decoration-color: #f47d26;
190+
text-decoration-thickness: 12px;
191+
text-underline-offset: -6px;
192+
}
193+
194+
195+
196+
197+

0 commit comments

Comments
 (0)