Skip to content

Commit 83ea50a

Browse files
authored
Feat: Yafiah Mock Code-Differntly Website (#579)
1 parent 7e0fe27 commit 83ea50a

File tree

4 files changed

+275
-0
lines changed

4 files changed

+275
-0
lines changed

lesson_22/yafiah_abdullah/hero.jpg

329 KB
Loading

lesson_22/yafiah_abdullah/index.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Homepage</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<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">
7+
<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' />
8+
<link rel="stylesheet" type="text/css" href="style.css">
9+
</head>
10+
<body>
11+
<header class="header">
12+
<div class="header-logo">
13+
<a href="index.html">
14+
<img src="logo.png" alt="Code Differently Logo" />
15+
</a>
16+
</div>
17+
<ul class="header-top-menu">
18+
<li><a href="#">Home</a></li>
19+
<li><a href="#">About</a></li>
20+
<li><a href="#">Contact</a></li>
21+
</ul>
22+
<div class="header-cta">
23+
<a class="sign-up-button" href="#">Sign Up</a>
24+
</div>
25+
</header>
26+
<div class="main">
27+
<div class="content">
28+
<article>
29+
<section class="hero-section">
30+
<div class="hero-overlay"></div>
31+
<div class="hero-content">
32+
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
33+
<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>
34+
</div>
35+
</section>
36+
<section class="programs-section">
37+
<h2>Our <em class="highlight">Programs</em></h2>
38+
<ul class="programs">
39+
<li class="program">
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+
</li>
43+
<li class="program">
44+
<h3>Return Ready</h3>
45+
<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>
46+
</li>
47+
<li class="program">
48+
<h3>Pipeline DevShops</h3>
49+
<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>
50+
</li>
51+
<li class="program">
52+
<h3>Platform Programs</h3>
53+
<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>
54+
</li>
55+
</ul>
56+
</section>
57+
</article>
58+
</div>
59+
</div>
60+
<footer class="footer">
61+
&copy; 2024 Code Differently
62+
</footer>
63+
</body>
64+
</html>

lesson_22/yafiah_abdullah/logo.png

29.2 KB
Loading

lesson_22/yafiah_abdullah/style.css

Lines changed: 211 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,211 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
font-family: 'Montserrat', 'Poppins', sans-serif;
6+
scroll-behavior: smooth;
7+
}
8+
9+
body {
10+
line-height: 1.6;
11+
}
12+
13+
.highlight {
14+
text-decoration: underline;
15+
text-decoration-skip-ink: none;
16+
text-decoration-color: #ff6d05;
17+
text-decoration-thickness: 8px;
18+
text-underline-offset: -2px;
19+
}
20+
21+
/* Nav-bar */
22+
.header {
23+
display: flex;
24+
justify-content: space-between;
25+
align-items: center;
26+
position: fixed; /* Ensures it stays at the top */
27+
top: 0; /* Anchors it to the top of the viewport */
28+
left: 0; /* Ensures it spans the full width */
29+
width: 100%;
30+
padding: 14px 30px;
31+
background-color: white; /* Background to prevent transparency over content */
32+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for elevation */
33+
z-index: 1000; /* High z-index to ensure it stays above other elements */
34+
}
35+
36+
.header-logo img {
37+
height: 60px;
38+
}
39+
40+
.header-top-menu {
41+
display: flex;
42+
list-style: none;
43+
gap: 20px;
44+
}
45+
46+
.header-top-menu li {
47+
font-size: 15px;
48+
}
49+
50+
.header-top-menu li:first-child {
51+
text-decoration: underline;
52+
text-decoration-color: #f47d26;
53+
text-underline-offset: 6px;
54+
font-weight: bold;
55+
}
56+
57+
.header-top-menu a {
58+
color: #444;
59+
text-decoration: none;
60+
font-weight: 600;
61+
}
62+
63+
.header-cta .sign-up-button {
64+
background-color: rgb(255, 128, 0);
65+
color: white;
66+
padding: 10px 18px;
67+
border-radius: 5px;
68+
text-decoration: none;
69+
font-weight: 500;
70+
}
71+
72+
.header-cta .sign-up-button:hover {
73+
background-color: rgb(251, 148, 44);
74+
transition: background-color 0.3s ease-in-out;
75+
}
76+
77+
/* Hero section */
78+
79+
.hero-section {
80+
display: flex;
81+
align-items: center;
82+
justify-content: center;
83+
text-align: center;
84+
position: relative;
85+
background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("hero.jpg");
86+
background-size: cover;
87+
background-attachment: fixed;
88+
background-position: center;
89+
background-repeat: no-repeat;
90+
height: 700px;
91+
color: white;
92+
z-index: 0;
93+
padding: 60px 20px;
94+
}
95+
96+
.hero-content {
97+
padding-top: 180px;
98+
padding-right: 200px;
99+
text-align: left;
100+
line-height: 1.8;
101+
}
102+
103+
.hero-title {
104+
font-size: 38px;
105+
font-weight: bold;
106+
margin-bottom: 15px;
107+
}
108+
109+
.hero-title .highlight {
110+
font-style: normal;
111+
}
112+
113+
.hero-text {
114+
background: rgb(43, 60, 146);
115+
padding: 40px;
116+
font-weight: 300;
117+
font-size: 16px;
118+
line-height: 1.5;
119+
border-radius: 8px;
120+
}
121+
122+
.hero-text span {
123+
color: rgb(255, 128, 0);
124+
font-weight: 600;
125+
}
126+
127+
/* Programs section */
128+
.programs {
129+
display: grid;
130+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
131+
gap: 24px;
132+
margin: 0 auto;
133+
padding: 80px 20px;
134+
}
135+
136+
.programs-section {
137+
font-size: 20px;
138+
color: #444;
139+
text-align: center;
140+
}
141+
142+
.programs-section h2 {
143+
font-weight: 800;
144+
margin-bottom: 60px;
145+
}
146+
147+
.programs-section h2 .highlight {
148+
font-style: normal;
149+
}
150+
151+
.programs li {
152+
list-style: none;
153+
}
154+
155+
.programs li h3 {
156+
margin-bottom: 25px;
157+
font-size: 20px;
158+
font-weight: 700;
159+
}
160+
161+
.programs li p {
162+
color: #676767;
163+
font-size: 14px;
164+
font-weight: 400;
165+
}
166+
167+
/* Footer */
168+
footer {
169+
color: #444;
170+
font-family: 'Poppins', sans-serif;
171+
text-align: center;
172+
font-size: 13px;
173+
padding: 40px;
174+
margin-top: 30px;
175+
}
176+
177+
/* Responsive adjustments */
178+
@media (min-width: 30em) and (max-width: 50em) {
179+
.programs li p {
180+
text-align: justify;
181+
}
182+
}
183+
184+
@media (max-width: 1250px) {
185+
.programs {
186+
grid-template-columns: 1fr;
187+
}
188+
189+
.programs-section {
190+
padding: 50px 20px;
191+
}
192+
193+
.hero-content {
194+
padding-top: 150px;
195+
padding-right: 0;
196+
text-align: center;
197+
}
198+
199+
.hero-text {
200+
padding: 20px;
201+
}
202+
203+
.header-top-menu {
204+
display: none;
205+
}
206+
207+
.header-cta {
208+
margin-left: auto;
209+
}
210+
}
211+

0 commit comments

Comments
 (0)