Skip to content

Commit edf0c6e

Browse files
A1-4U2T1NN“A1-4U2T1NN”anthonydmays
authored
Fix: Updated Lesson 21/22 assignment to properly meet requirements w/latest changes from main; (#625)
* feat: created chigazograham.json file * fix: deleted lesson_09 content from main; * feat: added CSS for index.html incuding the following sections body, header and header subsets, hero and hero subsets, program and program subsets, and footer; * fix: added style.css into a uniquely named template foldder copy; * chore: restore style Signed-off-by: Anthony D. Mays <[email protected]> --------- Signed-off-by: Anthony D. Mays <[email protected]> Co-authored-by: “A1-4U2T1NN” <“[email protected]”> Co-authored-by: Anthony D. Mays <[email protected]>
1 parent 1483fcb commit edf0c6e

File tree

4 files changed

+277
-0
lines changed

4 files changed

+277
-0
lines changed

lesson_22/chigazograham/hero.jpg

329 KB
Loading

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

29.2 KB
Loading

lesson_22/chigazograham/style.css

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
body {
2+
line-height: 1.5;
3+
color: #333;
4+
background-color: #ffffff;
5+
font-family: Poppins, 'Open Sans', sans-serif;
6+
margin: 10;
7+
padding: 10;
8+
overflow-x: hidden;
9+
}
10+
11+
em {
12+
font-style: normal;
13+
}
14+
15+
/* Header styles */
16+
.header {
17+
display: flex;
18+
justify-content: space-between;
19+
align-items: center;
20+
padding: 5px;
21+
background-color: #ffffff;
22+
color: black;
23+
position: sticky;
24+
z-index: 1000;
25+
top: 0;
26+
}
27+
28+
.header-top-menu a:hover {
29+
color: #f47d26;
30+
transition: color 0.3s ease;
31+
font-weight: 600;
32+
}
33+
34+
.header-logo img {
35+
max-width: 200px;
36+
margin-bottom: 20px;
37+
padding-top: 10px;
38+
}
39+
40+
.header-top-menu {
41+
list-style: none;
42+
display: flex;
43+
margin: relative;
44+
align-items: left;
45+
}
46+
47+
.header-top-menu li a {
48+
color: #000000;
49+
margin: 0 15px;
50+
text-decoration: none;
51+
}
52+
53+
.header-top-menu li::after {
54+
content: "";
55+
display: block;
56+
width: 100%;
57+
height: 2px;
58+
background-color: #f47d26;
59+
transform: scaleX(0);
60+
transition: transform 0.3s ease;
61+
}
62+
63+
.header-top-menu li:hover::after {
64+
transform: scaleX(1);
65+
}
66+
67+
.header-cta .sign-up-button {
68+
background-color: #f47d26;
69+
color: #fff;
70+
padding: 10px 20px;
71+
text-decoration: none;
72+
border-radius: 5px;
73+
font-weight: bold;
74+
}
75+
76+
.hero-section {
77+
background-attachment: fixed;
78+
background-position: center;
79+
background-repeat: no-repeat;
80+
background-size: cover;
81+
position: relative;
82+
background-image: url('hero.jpg');
83+
height: 600px;
84+
display: flex;
85+
align-items: center;
86+
justify-content: left;
87+
color: white;
88+
text-align: center;
89+
}
90+
91+
.hero-overlay {
92+
background-color: rgba(0, 0, 0, 0.5);
93+
position: absolute;
94+
top: 0;
95+
left: 0;
96+
width: 100%;
97+
height: 100%;
98+
z-index: 1;
99+
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
100+
101+
}
102+
103+
.hero-content {
104+
z-index: 2;
105+
max-width: 90%;
106+
text-align: center;
107+
}
108+
109+
.hero-title {
110+
font-size: 285%;
111+
font-weight: bold;
112+
margin-bottom: 10px;
113+
text-align: left;
114+
padding-left: 20px;
115+
max-width: 80%;
116+
}
117+
118+
.hero-text {
119+
align-content: center;
120+
box-sizing: border-box;
121+
padding: 20px;
122+
text-align: left;
123+
background-color: #243d8f;
124+
font-size: .9rem;
125+
max-width: 75%;
126+
127+
}
128+
129+
.hero-text span {
130+
font-weight: 600;
131+
color: #f47d26;
132+
}
133+
134+
.highlight {
135+
text-decoration-skip-ink: none;
136+
text-decoration: underline;
137+
text-decoration-color: #f47d26;
138+
text-decoration-thickness: 10px;
139+
text-underline-offset: -5px;
140+
}
141+
142+
.programs-section {
143+
padding: 40px 20px;
144+
text-align: center;
145+
}
146+
147+
.programs-section h2 {
148+
margin-bottom: 30px;
149+
font-size: 2rem;
150+
}
151+
152+
.programs {
153+
display: grid;
154+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
155+
gap: 20px;
156+
list-style: none;
157+
padding: 0;
158+
}
159+
160+
.program {
161+
padding: 20px;
162+
background-color: #ffffff;
163+
border-radius: 10px;
164+
text-align: left;
165+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
166+
transition: transform 0.3s, box-shadow 0.3s ease;
167+
}
168+
169+
.program:hover {
170+
transform: scale(1.05);
171+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
172+
}
173+
174+
.program h3 {
175+
margin-bottom: 10px;
176+
font-size: 1.5rem;
177+
}
178+
179+
@media (max-width: 768px){
180+
.header {
181+
flex-direction: column;
182+
align-items: flex-start;
183+
}
184+
.header-top-menu {
185+
flex-direction: column;
186+
margin-top: 10px;
187+
}
188+
189+
.header-top-menu li {
190+
margin: 5px 0;
191+
}
192+
193+
.hero-title {
194+
font-size: 1.5rem;
195+
}
196+
197+
.hero-text {
198+
font-size: 1rem;
199+
}
200+
201+
.program h3 {
202+
font-size: 1.2rem;
203+
}
204+
.programs {
205+
grid-template-columns: 1fr;
206+
}
207+
}
208+
209+
.footer {
210+
background-color: #243d8f;
211+
color: white;
212+
padding: 20px;
213+
text-align: center;
214+
}

0 commit comments

Comments
 (0)