Skip to content

Commit 19fea9c

Browse files
authored
Merge branch 'code-differently:main' into lesson_26
2 parents f9e4559 + 03d2a45 commit 19fea9c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+8340
-1
lines changed

lesson_24/amiyahjones/package-lock.json

Lines changed: 830 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lesson_24/amiyahjones/package.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"name": "lesson_24",
3+
"version": "1.0.0",
4+
"description": "## Pre-work",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1"
8+
},
9+
"keywords": [],
10+
"author": "",
11+
"license": "ISC",
12+
"dependencies": {
13+
"body-parser": "^1.20.3",
14+
"express": "^4.21.1",
15+
"morgan": "^1.10.0"
16+
}
17+
}
Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
* {
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
font-family: 'Montserrat', 'Poppins';
6+
scroll-behavior: smooth;
7+
}
8+
9+
body {
10+
line-height: 24px;
11+
}
12+
13+
14+
/* Nav-bar */
15+
.header {
16+
display: flex;
17+
justify-content: space-between;
18+
align-items: center;
19+
position: relative;
20+
padding: 16px 52px;
21+
background-color: white;
22+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
23+
width: 100%;
24+
z-index: 10;
25+
}
26+
27+
.header-logo img {
28+
height: 70px;
29+
}
30+
31+
.header-top-menu {
32+
display: flex;
33+
list-style: none;
34+
}
35+
36+
.header-top-menu li {
37+
margin: 0 15px;
38+
}
39+
40+
.header-top-menu li:last-child {
41+
text-decoration: underline;
42+
text-decoration-color: #f47d26;
43+
text-underline-offset: 8px;
44+
}
45+
46+
.header-top-menu a {
47+
color: #444;
48+
text-decoration: none;
49+
font-family: 'Poppins';
50+
font-weight: bold;
51+
}
52+
53+
.header-top-menu li:first-child {
54+
text-transform: uppercase;
55+
}
56+
57+
.header-cta .sign-up-button {
58+
background-color: rgb(255, 128, 0);
59+
color: white;
60+
padding: 8px 16px;
61+
border-radius: 4px;
62+
text-decoration: none;
63+
font-weight: 500;
64+
font-family: 'Poppins';
65+
}
66+
67+
.header-cta .sign-up-button:hover {
68+
background-color: rgb(251, 148, 44);
69+
transition-duration: 0.5s;
70+
}
71+
72+
.container {
73+
margin-top: 20px;
74+
padding: 50%;
75+
}
76+
77+
/* Contact form container */
78+
.contact-form {
79+
background-color: #fff;
80+
border-radius: 8px;
81+
box-shadow: 0 4px 0px rgba(0, 0, 0, 0.1);
82+
width: 100%;
83+
max-width: 600px;
84+
margin: 5% auto;
85+
padding: 40px;
86+
box-sizing: border-box;
87+
display: flex;
88+
flex-direction: column;
89+
align-items: center;
90+
}
91+
92+
h2 {
93+
text-align: center;
94+
color: #333;
95+
margin-bottom: 20px;
96+
}
97+
98+
form {
99+
display: flex;
100+
flex-direction: column;
101+
gap: 15px;
102+
width: 100%;
103+
}
104+
105+
label {
106+
font-weight: bold;
107+
color: #333;
108+
}
109+
110+
input[type="text"],
111+
input[type="email"],
112+
textarea {
113+
width: 100%;
114+
padding: 10px;
115+
border: none;
116+
border-radius: 5px;
117+
font-size: 14px;
118+
box-sizing: border-box;
119+
background-color: #c9c9c9;
120+
}
121+
122+
textarea {
123+
resize: vertical;
124+
}
125+
126+
.input-group {
127+
display: flex;
128+
gap: 15px;
129+
width: 100%;
130+
}
131+
132+
.input-group input {
133+
flex: 1;
134+
max-width: 45%; /* Make the input fields smaller */
135+
}
136+
137+
input[type="text"]:focus,
138+
input[type="email"]:focus,
139+
textarea:focus {
140+
outline: none;
141+
border: 2px solid #f47d26;
142+
}
143+
144+
button {
145+
padding: 12px;
146+
background-color: #f47d26;
147+
color: white;
148+
border: none;
149+
border-radius: 5px;
150+
font-size: 16px;
151+
cursor: pointer;
152+
transition: background-color 0.3s;
153+
width: 100%;
154+
}
155+
156+
button:hover {
157+
background-color: #f88431;
158+
}
159+
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title>Contact Us</title>
5+
<meta charset="UTF-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
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="contact.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="Logo" />
15+
</a>
16+
</div>
17+
<ul class="header-top-menu">
18+
<li><a href="index.html">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="signup.html">Sign Up</a>
24+
</div>
25+
</header>
26+
27+
<div class="contact-form">
28+
<h2>Contact Us</h2>
29+
<form action="/contact" method="POST">
30+
<label for="first-name">Full Name</label>
31+
<div class="input-group">
32+
<input type="text" id="first-name" name="first-name" placeholder="First Name" required>
33+
<input type="text" id="last-name" name="last-name" placeholder="Last Name" required>
34+
</div>
35+
36+
<label for="email">Email</label>
37+
<input type="email" id="email" name="email" placeholder="Enter your email" required>
38+
39+
<label for="message">Message</label>
40+
<textarea id="message" name="message" rows="4" placeholder="Your message here..." required></textarea>
41+
42+
<button type="submit">Send</button>
43+
</form>
44+
</div>
45+
</body>
46+
</html>

lesson_24/amiyahjones/public/hero.jpg

329 KB
Loading
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="index.html">Home</a></li>
18+
<li><a href="#">About</a></li>
19+
<li><a href="contact.html">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_24/amiyahjones/public/logo.png

29.2 KB
Loading

0 commit comments

Comments
 (0)