Skip to content
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
23 changes: 23 additions & 0 deletions app/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
(function() {
const courses = document.getElementsByClassName('courses')[0];

courses.addEventListener('mouseover', () => {
const dropdown = document.getElementsByClassName('moreCourses')[0];
dropdown.style.display = 'block';
});

document.getElementsByClassName('courses')[0].addEventListener('mouseover', () => {
const dropdown = document.getElementsByClassName('moreCourses')[0];
dropdown.style.display = 'block';
});

document.getElementsByClassName('moreCourses')[0].addEventListener('mouseover', () => {
const dropdown = document.getElementsByClassName('moreCourses')[0];
dropdown.style.display = 'block';
});

document.getElementsByClassName('moreCourses')[0].addEventListener('mouseout', () => {
const dropdown = document.getElementsByClassName('moreCourses')[0];
dropdown.style.display = 'none';
});
})();
Binary file added app/img/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/img/favicon.ico
Binary file not shown.
Binary file added app/img/lambdawhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
79 changes: 79 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Lambda School</title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles.css" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lora|Montserrat" rel="stylesheet">
</head>
<body>
<div class='background-image-container'>
<div class='navbar'>
<div class='ls-logo'>
<a href='#'>
<img class='logopng' alt='Lambda School logo' src='img/lambdawhite.png' />
</a>
</div>
<ul>
<li class='navbarlinks'><a href='#'>ABOUT</a></li>
<li class='navbarlinks courses'><a href='#'>COURSES</a></li>
<li class='navbarlinks'><a href='#'>BLOG</a></li>
<li class='navbarlinks'><a href='#'>CONTACT</a></li>
<li class='navbarlinks'><a href='#'>APPLY</a></li>
</ul>
</div>
<div class='moreCourses'>
<a class='moreCoursesLinksMain' href='#'>VIEW ALL COURSES</a>
<br><br>
<ul>
<li class='coursesListName'>COURSES:</li>
<li><a class='moreCoursesLinks' href='#'>COMPUTER SCIENCE & SOFTWARE ENGINEERING</a></li>
<li><a class='moreCoursesLinks' href='#'>ARTIFICIAL INTELLIGENCE & MACHINE LEARNING</a></li>
</ul>
<br>
<ul>
<li class='coursesListName'>FREE COURSE ARCHIVES:</li>
<li><a class='moreCoursesLinks' href='#'>JAVASCRIPT MINI BOOTCAMP</a></li>
<li><a class='moreCoursesLinks' href='#'>WEB DEVELOPMENT MINI BOOTCAMP</a></li>
</ul>
</div>
<div class='header1'>
<h1>The Computer Science
<br>
Education
<br>
of the Future
</h1>
</div>
<p class='subheader'>Immersive preparation for the world's most in-demand careers,
<br>
for as little as <strong>$0 until you're hired</strong>
</p>
<div class='buttons'>
<a class='btn1' href='#'>VIEW COURSES</a>
<a class='btn2' href='#'>APPLY NOW</a>
</div>
</div>
<h3 class='newModel'>A New Model for Higher Education</h3>
<p class='newModelP'>Lambda School invests in a small number of ambitious individuals
by training them for the world's most in-demand careers.<br><br>
In exchange, Lambda School graduates pay back a small percentage
of their salary after they are hired.</p>

<div class='h5container'>
<h5>Selection</h5>
<p class='selectionP'>Our unique application and interview process is designed
to identify those with great aptitude for a technical
career, regardless <br> of their background.</p>
</div>
<div class='h5container2'>
<h5>Training</h5>
<p class='trainingP'>Once students are selected, a small class undergoes live,
intensive online training designed to meet the rigorous
demands of our hiring partners.</p>
</div>
<!-- script below -->
<script type="text/javascript" src="app.js"></script>
</body>
</html>
201 changes: 201 additions & 0 deletions app/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
html, body {
margin: 0;
height: 100%;
width: 100%;
font-family: 'Montserrat', sans-serif;
}

.navbar {
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logopng {
height: 25.47px;
width: 100px;
}

.ls-logo {
float: left;
margin-left: 20px;
margin-right:50px;
margin-top: 20px;
}

ul {
list-style-type: none;
color: white;
font-size: 12.5px;
margin: 0;
padding: 0;
overflow: hidden;
}

li.navbarlinks {
float: left;
margin-top: 10px;
margin-bottom: 12px;
}

div.background-image-container {
background:
linear-gradient(
rgba(66,143,187, 0.7),
rgba(66,143,187, 0.7)
),
url('img/background.jpg');
background-size: cover;
height: 860px;
}


.moreCourses {
display: none;
position: absolute;
z-index: 2;
background-color: #232323;
width: 390px;
margin-left: 23%;
padding-top: 15px;
padding-left: 15px;
}

.moreCoursesLinksMain {
color: rgba(255, 255, 255, 0.6);
text-decoration: none;
font-size: 12px;
}

.moreCoursesLinksMain:hover {
color: rgba(255, 255, 255, 1);
margin-left: 10px;
}

.moreCoursesLinks {
color: rgba(255, 255, 255, 0.6);
text-decoration: none;
text-align: left;
padding: 10px;
}

.moreCoursesLinks:hover {
color: rgba(255, 255, 255, 1);
margin-left: 10px;
}

.coursesListName {
font-size: 10px;
margin: 5px;
}

.courses:hover .moreCourses {
display: block;
}

.header1 {
margin-top: 250px;
position: relative;
}

h1 {
color: #fff;
font-size: 65px;
text-align: center;
}

.subheader {
color: white;
text-align: center;
font-size: 25px;
}

.btn1 {
border: 1px solid #fff;
color: white;
font-size: 10px;
width: 190px;
text-align: center;
text-decoration: none;
padding: 19px 60px;
margin-right: 20px;
}

.btn2 {
background-color: white;;
color: rgb(66,143,187);
font-size: 10px;
width: 190px;
text-align: center;
text-decoration: none;
padding: 20px 65px;
}

.buttons {
margin-top: 40px;
margin-left: 32%;
}

.newModel {
text-align: center;
margin-top: 100px;
font-size: 35px;
}

.newModelP {
text-align: left;
font-size: 25px;
margin-left: 300px;
margin-right: 250px;
color: #767676;
margin-bottom: 100px;
font-family: 'Lora', serif;
}

.h5container {
width: 300px;
float: left;
margin-left: 27%;
margin-right: 20px;
margin-bottom: 100px;
}

.h5container2 {
width: 350px;
float: left;
margin-bottom: 100px;
}

h5 {
font-size: 16px;
}

.selectionP {
font-size: 25px;
color: #767676;
text-align: left;
font-family: 'Lora', serif;
}

.trainingP {
font-size: 25px;
color: #767676;
text-align: left;
margin-right: 100px;
font-family: 'Lora', serif;
}

li {
color: rgba(255, 255, 255, 0.6);
margin: 0;
}

li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}

li a:hover {
color: rgba(255, 255, 255, 0.6);
}