Skip to content

Lesson 24: Assignment 0114-01 #715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
830 changes: 830 additions & 0 deletions lesson_24/cdbluejr/package-lock.json

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions lesson_24/cdbluejr/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "cdbluejr_24",
"version": "1.0.0",
"description": "## Pre-work",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"body-parser": "^1.20.3",
"express": "^4.21.1",
"morgan": "^1.10.0"
}
}
193 changes: 193 additions & 0 deletions lesson_24/cdbluejr/public/contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', 'Poppins';
scroll-behavior: smooth;
}

.header {
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
padding: 16px 52px;
background-color: white;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
width: 100%;
z-index: 10;
}
.header-top-menu a {
color: #444;
text-decoration: none;
font-family: 'Poppins';
font-weight: bold;
}
.header-logo {
position: absolute; /* Fixes the logo in place when scrolling */
top: 15px;
left: 5px;
background-color: white;


}
.header-cta .sign-up-button {
background-color: rgb(255, 128, 0);
color: white;
padding: 8px 16px;
border-radius: 4px;
text-decoration: none;
font-weight: 500;
font-family: 'Poppins';
}
img {
width: 200px;
height: auto;
}
.header-top-menu {
list-style: none;
height: 75px;
background-color: white;
padding: 0;
margin: 0 auto; /* Centers the menu horizontally */
width: 100% auto; /* Makes the width based on the content */
display: flex; /* Align items horizontally */
margin-left: 250px;


}
.header-top-menu li {
margin-top: 5px;
margin-left: 50px;
width: 25px;
text-align: center;
font-size: 22;
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;

}
.header-cta {
margin-left: 300px;
font-size: 22;
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;

}

sign-up-botton {
}
.body {

}
.content {


}
.hero-section {
padding:100px 20px;
padding-top: 5%;
background-image: url('hero.jpg'); /* Path to the image */
background-size: cover; /* Makes sure the image covers the full width and height */
background-attachment: fixed;
background-position: center; /* Left the image */
background-repeat: no-repeat; /* Prevents the image from repeating */
z-index: 0;
}
.hero-overlay {

}
.hero-content {
margin-top: 50px;
height: 100%; /* Ensure the body takes the full height */
width:100%;

}
.hero-title {
margin-top: 50px;
background-color: (100,100,255,0.5);
font-family: 'Arial', sans-serif;
font-size: 52px;
color: white;
width: 60%;
position:absolute;

}
.hero-content div {
background: #243e90;
}

.hero-text {
left:0.5%;
top:50%;
list-style: none;
padding-top: 25;
padding-left: 200;
padding-bottom: 25;
margin: 0 0; /* Centers the menu horizontally */
max-width: 925px;
font:18px;
position:absolute;
font-size: 19px;
color: white;
}
.hero-text span {
color: #f47d26;
}

/* Programs section */
.programs {
display: grid;
grid-template-columns: 1fr 1fr;
/* Two columns */
gap: 20px;
max-width: fit-content;
}

.programs-section {
background-color: #fff;
z-index: 2;
}
.programs-section li {
width: 600px;
display: inline-block;
margin-right: 30px;
padding: 10px;
border-radius: 5px;
}

.programs-section h2 {
font-weight: 900;
margin-bottom: 70px;
}

.programs li h3 {
margin-bottom: 40px;
font-size: 22px;
}

.programs li p {
font-weight: lighter;
font-family: 'Poppins';
color: #676767;
font-size: small;
font-weight: 400;
}

.hero-title .highlight {
text-decoration: underline;
text-decoration-color: #f47d26;
text-decoration-thickness: 4px;
}

.program {

font-family:'Poppins', sans-serif !important;
font-size:14px !important;

}
.footer {
color: #444;
font-family: 'Poppins';
text-align: center;
font-size: 13px;
padding: 50px;
margin-bottom: 10px;
}
63 changes: 63 additions & 0 deletions lesson_24/cdbluejr/public/contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<html>
<head>
<title>Homepage</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<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">
<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' />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header class="header">
<div class="header-logo">
<a href="index.html">
<img src="logo.png" alt="Code Differently Logo" />
</a>
</div>
<ul class="header-top-menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="header-cta">
<a class="sign-up-button" href="#">Sign Up</a>
</div>
</header>
<div class="main">
<div class="content">
<article>
<section class="hero-section">
<div class="hero-overlay"></div>
<div class="hero-content">
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
<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>
</div>
</section>
<section class="programs-section">
<h2>Our <em class="highlight">Programs</em></h2>
<ul class="programs">
<li class="program">
<h3>1000 Kids Coding</h3>
<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>
</li>
<li class="program">
<h3>Return Ready</h3>
<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>
</li>
<li class="program">
<h3>Pipeline DevShops</h3>
<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>
</li>
<li class="program">
<h3>Platform Programs</h3>
<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>
</li>
</ul>
</section>
</article>
</div>
</div>
<footer class="footer">
&copy; 2024 Code Differently
</footer>
</body>
</html>
Binary file added lesson_24/cdbluejr/public/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions lesson_24/cdbluejr/public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<html>
<head>
<title>Homepage</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<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">
<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' />
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header class="header">
<div class="header-logo">
<a href="index.html">
<img src="logo.png" alt="Code Differently Logo" />
</a>
</div>
<ul class="header-top-menu">
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="header-cta">
<a class="sign-up-button" href="#">Sign Up</a>
</div>
</header>
<div class="main">
<div class="content">
<article>
<section class="hero-section">
<div class="hero-overlay"></div>
<div class="hero-content">
<h2 class="hero-title">Together we can move the needle of <em class="highlight">diversity in tech.</em></h2>
<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>
</div>
</section>
<section class="programs-section">
<h2>Our <em class="highlight">Programs</em></h2>
<ul class="programs">
<li class="program">
<h3>1000 Kids Coding</h3>
<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>
</li>
<li class="program">
<h3>Return Ready</h3>
<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>
</li>
<li class="program">
<h3>Pipeline DevShops</h3>
<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>
</li>
<li class="program">
<h3>Platform Programs</h3>
<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>
</li>
</ul>
</section>
</article>
</div>
</div>
<footer class="footer">
&copy; 2024 Code Differently
</footer>
</body>
</html>
Binary file added lesson_24/cdbluejr/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading