Skip to content
Merged
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
Binary file added lesson_22/ezra/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_22/ezra/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_22/ezra/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
215 changes: 215 additions & 0 deletions lesson_22/ezra/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
/* General Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
color: #333;
background-color: #fff;
}

a {
text-decoration: none;
color: inherit;
}

ul {
list-style: none;
}

/* Header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
background-color: white;
position: sticky;
top: 0;
z-index: 3;
}

.header-logo img {
max-height: 50px;
}
.header-top-menu {
display: flex;
justify-content: space-between;
align-items: center;
width: 50%;
font-size: 16px;

}

.header-top-menu li {
list-style: none;
margin: 0;
padding: 0;
}

.header-top-menu li a {
position: relative;
text-decoration: none;
padding: 10px 20px;
font-size: 16px;
font-weight: 600;
font-family: 'Poppins';
color: #3c3c3c;

}

.header-top-menu li a::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
height: 2px;
width: 0;
background-color: #eb5b21;
transition: width 0.3s ease;
}

.header-top-menu li a:hover::after {
width: 100%;
}

.sign-up-button {
background-color: #ff6600;
color: #fff;
padding: 10px 10px;
border-radius: 6px;
font-weight: 600;
}

.sign-up-button:hover {
background-color: #f97218;
cursor: pointer;
}

/* Hero Section */
.hero-section {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The padding and justify content properties are moving the hero-content. It should be left-aligned, like the CD website

position: relative;
background-image: url('hero.jpg');
min-height: 60vh;
display: flex;
justify-content: center;
padding-left: 40px;
text-align: center;
color: white;
background-position: center;
}

.hero-overlay {
position: absolute;

z-index: 1;
}

.hero-content {
position: relative;
z-index: 2;
max-width: 500px;
margin-right: auto;
padding-bottom: 200px;
}

.hero-title {
font-size: 2.5rem;
font-weight: 700;
font-family: Montserrat;
z-index: 4;
max-width: 60%;
text-align: left;

}



.highlight {
position: relative;
color: inherit;
}

.highlight::after {
content: '';
position: absolute;
left: 0;
bottom: 0.3em;
width: 100%;
height: 8px;
background-color: #ff6600;
z-index: -1;
}



.hero-text {
font-size: 1.15rem;
color: #eee;
background-color: #3624ae;
padding-top: 60px;
padding-bottom: 40px;
margin-top: 10 auto;
max-width: 70%;



}
.hero-content {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two .hero-content selectors in your style.css. Please simplify them into one. Also, remove the margin-left property, you'll see why once it's gone

max-width: 65%;
margin-left: 20px;
margin-top:200px;
margin-bottom: 2px;


}
span {
color: #ff6600;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the program section selectors below, please adjust the styles so that the <h2> aligns with the program cards

/* Programs Section */
.programs-section {
padding: 60px 40px;
text-align: left;
}

.programs-section h2 {
font-size: 2rem;
margin-bottom: 40px;
}

.programs-section .highlight {
color: black;
}

.programs {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
gap: 30px;
}

.program {

padding: 50px;
border-radius: 10px;
max-width: 600px;
}

.program h3 {
font-size: 1.3rem;
color: #222;
margin-bottom: 10px;
}

/* Footer */
.footer {
text-align: center;
padding: 20px;
color: #000000;
font-size: 0.9rem;
}