Skip to content
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

Update #7

Open
wants to merge 4 commits into
base: master
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
78 changes: 78 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
/*CSS*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

html,body{
font-family: 'Lato', sans-serif;
background-color: #fff;
}

#page-wrapper {
position: relative;
}
header{
position: fixed;
top: 0;
min-height: 75px;
padding: 0px 20px;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #eee;
width: 100%;
}
header nav ul{
display: flex;
flex-direction: row;
list-style: none;
}

header nav ul li{
margin-left: 30px;
}
header nav ul li a{
text-decoration: none;
}
/** global classes styling **/
.container {
max-width: 1000px;
width: 100%;
margin: 0 auto;
top: 200px;
}

.grid {
display: flex;
}

img{
width: 50px;
height:50px;
}
section{
height: 100px;
}
#youtube-video{
width: 100%;
height: auto;
margin: 0 auto;
top: 10%;
}

#form{
margin-top: 100px;
}
/*MEDIA QUERY*/


@media (max-width: 600px) {
header {
flex-wrap: wrap;
}
}



75 changes: 57 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,65 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Fork Me! FCC: Test Suite Template</title>
<link rel="stylesheet" href="css/style.css">
</head>

<body>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="UTF-8">
<title>Fork Me! FCC: Test Suite Template</title>
<link rel="stylesheet" href="css/style.css">
</head>

<!--
<body>

Hello Camper!

For now, the test suite only works in Chrome!
Please read the README below in the JS Editor before beginning.
Feel free to delete this message once you have read it.
Good luck and Happy Coding!
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<div id="page-wrapper">

- The freeCodeCamp Team
<header id="header">
<img id="header-img" src="https://git-scm.com/images/logos/downloads/Git-Icon-1788C.png">
<nav id="nav-bar">
<ul>
<li class="nav-link">
<a href="#video">Video</a>
</li>
<li class="nav-link">
<a href="#form">Form</a>
</li>
<li class="nav-link">
<a href="#email">Email</a>
</li>
<li class="nav-link">
<a href="#submit">Submit</a>
</li>
</ul>
</nav>
</header>
<section></section>
<div class="container">
<div id="youtube-video">
<iframe width="1000" height="650" id="video" src="https://www.youtube.com/embed/tgbNymZ7vqY?playlist=tgbNymZ7vqY&loop=1"></iframe>
</div>

-->
<script src="js/index.js"></script>
</body>
</html>
<form id="form" action="https://www.freecodecamp.com/email-submit" method="POST">
<input id="email" type="" name="" placeholder="Email Address" required>
<input id="submit" type="submit">
</form>
</div>
</div>

<!--

Hello Camper!

For now, the test suite only works in Chrome!
Please read the README below in the JS Editor before beginning.
Feel free to delete this message once you have read it.
Good luck and Happy Coding!

- The freeCodeCamp Team

-->

<script src="js/index.js"></script>
</body>

</html>