diff --git a/lesson_22/JBey-CD-Clone/hero.jpg b/lesson_22/JBey-CD-Clone/hero.jpg new file mode 100644 index 000000000..3a3f4cb14 Binary files /dev/null and b/lesson_22/JBey-CD-Clone/hero.jpg differ diff --git a/lesson_22/JBey-CD-Clone/index.html b/lesson_22/JBey-CD-Clone/index.html new file mode 100644 index 000000000..f918a9287 --- /dev/null +++ b/lesson_22/JBey-CD-Clone/index.html @@ -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&ver=1597678827" type="text/css" media="all"> + <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Poppins%3A600%2C400%7CMontserrat%3A800%2C900%2C700&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"> + © 2024 Code Differently + </footer> +</body> +</html> \ No newline at end of file diff --git a/lesson_22/JBey-CD-Clone/logo.png b/lesson_22/JBey-CD-Clone/logo.png new file mode 100644 index 000000000..847ff80d3 Binary files /dev/null and b/lesson_22/JBey-CD-Clone/logo.png differ diff --git a/lesson_22/JBey-CD-Clone/style.css b/lesson_22/JBey-CD-Clone/style.css new file mode 100644 index 000000000..1888615ec --- /dev/null +++ b/lesson_22/JBey-CD-Clone/style.css @@ -0,0 +1,281 @@ +/* The * is the universal seelctor that targets every element in the file */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +/* This covers the entire viewport */ +body { + font-family: 'Poppins', sans-serif; + color: #333; + line-height: 1.6; + overflow-x: hidden; +} + +a { + text-decoration: none; + color: inherit; +} + +ul { + list-style: none; +} + +/* Header styles */ +.header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px 5%; + background-color: #fff; + position: sticky; + top: 0; + z-index: 100; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + padding: 20px; +} + +.header-logo img { + height: 60px; + width: auto; +} + +.header-top-menu { + display: flex; + padding-right: 2%; + justify-content: space-between; + width: 20%; + margin-left: auto; +} + +.header-top-menu li a { + font-family: 'Montserrat', sans-serif; + font-weight: 600; + font-size: 16px; + color: #333; + transition: color 0.3s ease; +} + +.header-top-menu li a { + position: relative; + display: inline-block; + text-decoration: none; /* Remove default underline */ +} + +.header-top-menu li a::after { + content: ''; + position: absolute; + bottom: -4px; + left: 0; + width: 0%; + height: 2px; + background-color: #f47d26; + transition: width 0.2s ease-in-out; +} + +.header-top-menu li a:hover::after { + width: 100%; +} + +.header-cta .sign-up-button { + background-color: #f47d26; + color: white; + padding: 7px 7px; + border-radius: 5px; + font-family: 'Montserrat', sans-serif; + font-weight: 700; + font-size: 15px; + text-transform: uppercase; + letter-spacing: 1px; + transition: background-color 0.3s ease; +} + +.header-cta .sign-up-button:hover { + background-color: #f47d26; +} + +/* Hero section */ +.hero-section { + color: white; + position: relative; + display: flex; + background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), + url("hero.jpg"); + background-size: cover; + background-attachment: fixed; + background-position: center; + height: 100%; + align-items: center; + text-align: center; + min-width: 30%; + background-position-y: 50px; + padding-top: 80px; +} + +.hero-content { + text-align: left; + padding-right: 400px; + +} + +/* This targets "together we can move the needle" */ +.hero-title { + font-family: 'montserrat', sans-serif; + font-size: 45px; + line-height: 1.2em; + margin-bottom: 20px; + margin-top: -200px; + font-weight: 800; +} + +/* This targets "provides hands on training" */ +.hero-text { + background-color: #243e90; + padding: 30px; + padding-left: 140px; + box-shadow: 45px 0 0 #243e90; + margin-right: 145px; + font-size: 17px; + font-weight: 400; + line-height: 20px; + -webkit-font-smoothing: antialiased; + font-family: 'poppins', sans-serif; + +} + +/* This targets diversity in tech */ +.hero-section h2 .highlight { + font-family: 'montserrat', sans-serif; + font-style: normal; + text-decoration: underline; + text-decoration-color: #f47d26; + text-decoration-thickness: 10px; + text-underline-offset: -4px; + text-decoration-skip-ink: none; + font-weight: 800; +} + +.hero-text span { + color: #f47d26; + font-weight: bold; +} + +/* It's time for the program classes. */ + +/* This creates a grid layout for the program classes */ +.programs { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 35px; + -webkit-font-smoothing: antialiased; + color: #676767; + font-size: 15px; + +} + +.programs-section { + padding: 200px; + padding-top: 130px; +} + +/* This targets our programs */ +.programs-section h2 .highlight { + font-family: 'montserrat'; + font-style: normal; + text-decoration: underline; + text-decoration-color: #f47d26; + text-decoration-thickness: 10px; + text-underline-offset: -4px; + text-decoration-skip-ink: none; + +} + +.programs-section h2 { + font-family: 'montserrat'; + font-weight: 900; + padding-bottom: 45px; + display: inline-block; + font-size: 30px; + color: #444; + font-size: 28px; + -webkit-font-smoothing: antialiased; + letter-spacing: 0; + font-style: normal; +} + +.programs li h3 { + margin-bottom: 20px; + font-family: 'montserrat'; + font-weight: 700; + color: #444; +} + +.footer { + border-top: 2px solid #9a41029d; + text-align: center; + background: #fff; + padding: 5.5%; + font-size: 13px; +} + +/* Media queries for responsiveness */ +@media screen and (min-width: 357px) and (max-width: 999px) { + .header-top-menu { + + align-items: center; + flex-direction: column; + gap: 8px; + } + + .header-cta .sign-up-button { + + padding: 8px 15px; + } + + .header-logo img { + height: 50px; + } + + .hero-section { + padding: 80px 50px; + text-align: center; + background-position: 90% 100%; + height: 55vh; + } + + .hero-content { + padding-right: 0; + } + + .hero-title { + font-size: 30px; + margin-top: 40px; + } + + .hero-text { + font-size: 20px; + font-family: 'Poppins', sans-serif; + color: white; + margin: 0; + padding: 30px 45px; + width: 100vw; + position: relative; + left: 50%; + right: 50%; + margin-left: -50vw; + } + + .programs { + grid-template-columns: 1fr; + gap: 20px; + } + + .programs-section { + padding: 100px 20px; + } + + .programs-section h2 { + font-size: 24px; + } +} \ No newline at end of file