Skip to content

Instantly share code, notes, and snippets.

@adeleke5140
Created June 4, 2022 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeleke5140/cb036f17e335feab0d7c70a2b4c05bbb to your computer and use it in GitHub Desktop.
Save adeleke5140/cb036f17e335feab0d7c70a2b4c05bbb to your computer and use it in GitHub Desktop.
FreeCodeCamp Landing page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>freeCodeCamp</title>
<style>
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
background-color: #0a0a23;
color: white;
display: flex;
justify-content: space-between;
padding-left: 20px;
padding-right: 20px;
padding-top: 5px;
padding-bottom: 5px;
}
main {
background-color: #1b1b32;
color: white;
height: 100vh;
}
.main-container {
width: 800px;
margin: 0 auto;
padding-top: 100px;
}
h1 {
line-height: 2;
font-size: 60px;
}
p {
font-size: 25px;
margin-bottom: 40px;
}
.icon-container {
margin-bottom: 80px;
}
.icon-container span {
padding-right: 40px;
}
.main-button {
background: #feac32;
width: 600px;
height: 60px;
display: block;
margin: 0 auto;
font-size: 30px;
}
</style>
</head>
<body>
<header>
<input type="search" name="search" id="search" placeholder="Search 8000+ tutorials">
<span>
freeCodeCamp (🔥)
</span>
<div>
<button>
Menu
</button>
<span>
🪵
</span>
</div>
</header>
<main>
<div class="main-container">
<h1>
Learn to code -- for free.<br />
Build Projects.<br />
Earn Certifications.
</h1>
<p>
Since 2014, more that 40,000 freeCodeCamp.Org graduates
have gotten<br /> jobs at tech companies including:
</p>
<div class="icon-container">
<span>🍎Apple</span>
<span>Google</span>
<span>Ⓜ️Microsoft</span>
<span>Spotify</span>
<span>Amazon</span>
</div>
<button class="main-button">
Get Started(It's free)
</button>
</div>
</main>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment