A Pen by Christonja on CodePen.
Last active
April 9, 2019 12:56
-
-
Save Christonja/8e220688121b1be36ddd7fb9f2c45a1c to your computer and use it in GitHub Desktop.
Project Portfolio - FCC - Christonja
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<!--Website follows a FreeCodeCamp tutorial where it is designed, loosely following a pre-existing | |
example website created by FreeCodeCamp however all code is original and created from scratch by 'Christonja'--> | |
<!--test script courtesy of Free Code Camp--> | |
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> | |
<!--Google Fonts--> | |
<link href="https://fonts.googleapis.com/css?family=Antic|Fredericka+the+Great" rel="stylesheet"> | |
</head> | |
<body> | |
<div id="navbar"> | |
<ul> | |
<li><a href="#welcome-section">About</a></li> | |
<li><a href="#projects">Projects</a></li> | |
<li><a href="#contact">Contact</a></li> | |
<li><a href="#links">Links</a></li> | |
</ul> | |
</div> | |
<section id="welcome-section"> | |
<h1>CHRISTON'S PROJECTS</h1> | |
<p>MOOC Addict | Tech Enthusiast | Aspiring Web Developer</p> | |
</section> | |
<h2>Here are some of my projects:</h2> | |
<section id="projects"> | |
<div class="project-tile"> | |
<a href="https://codepen.io/christonja/full/VdqOEM/"><h3>Tribute Page</h3></a> | |
<iframe src="https://codepen.io/christonja/full/VdqOEM/" sandbox="allow-same-origin" seamless> | |
</iframe> | |
</div> | |
<div class="project-tile"> | |
<a href="https://codepen.io/christonja/full/QxzeJQ/"><h3>Survey Form</h3></a> | |
<iframe src="https://codepen.io/christonja/full/QxzeJQ/" sandbox="allow-same-origin" scrolling="no" seamless> | |
</iframe> | |
</div> | |
<div class="project-tile"> | |
<a href="https://codepen.io/christonja/full/wXZxWX/"> <h3>Product Landing Page</h3></a> | |
<iframe src="https://codepen.io/christonja/full/wXZxWX/" sandbox="allow-same-origin" seamless> | |
</iframe> | |
</div> | |
<div class="project-tile"> | |
<a href="https://codepen.io/christonja/full/oyKxea/"><h3>Technical Documentation Page</h3></a> | |
<iframe src="https://codepen.io/christonja/full/oyKxea/" sandbox="allow-same-origin" seamless> | |
</iframe> | |
</div> | |
</section> | |
<footer id="contact"> | |
<p><b>Contact Me!</b></p> | |
<a href="https://www.linkedin.com/in/christon-altmann/" target="_blank"><img src="https://sguru.org/wp-content/uploads/2018/02/logo.ico"></a> | |
<div id="links"> | |
<p><b>For more of my work click below: </b></p> | |
<a id="profile-link" href="https://github.com/Christonja" target="_blank"><img src="https://cdn4.iconfinder.com/data/icons/iconsimple-logotypes/512/github-512.png"></a> | |
<a href="https://www.freecodecamp.org/christon" target="_blank"><img src="https://d33wubrfki0l68.cloudfront.net/cce87b74a290f321f582cb56a12007343ff2d77e/bb9e6/img/glyph.png"></a> | |
<a href="https://codepen.io/christonja/" target="_blank"><img src="https://blog.codepen.io/wp-content/uploads/2012/06/Button-Fill-Black-Large.png"></a> | |
<a href="https://stackoverflow.com/cv/christon" target="_blank"><img src="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded"></a> | |
</div> | |
</footer> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// !! IMPORTANT README: | |
// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. | |
/*********** | |
INSTRUCTIONS: | |
- Select the project you would | |
like to complete from the dropdown | |
menu. | |
- Click the "RUN TESTS" button to | |
run the tests against the blank | |
pen. | |
- Click the "TESTS" button to see | |
the individual test cases. | |
(should all be failing at first) | |
- Start coding! As you fulfill each | |
test case, you will see them go | |
from red to green. | |
- As you start to build out your | |
project, when tests are failing, | |
you should get helpful errors | |
along the way! | |
************/ | |
// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example! | |
// Once you have read the above messages, you can delete all comments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
margin: 0; | |
} | |
#navbar { | |
position: fixed; | |
width: 100%; | |
background-color: #8AC7F0; | |
top: 0; | |
left: 0; | |
} | |
#navbar ul { | |
float: right; | |
list-style: none; | |
} | |
#navbar ul li { | |
float: left; | |
} | |
#navbar ul li a { | |
text-decoration: none; | |
Padding: 5px; | |
font-family: "Antic", sans-serif; | |
font-size: 1.2em; | |
color: black; | |
} | |
#welcome-section { | |
display: flex; | |
background-color: #8AC7F0; | |
height: 100vh; | |
width: 100%; | |
top: 30px; | |
align-items: center; | |
justify-content: center; | |
flex-direction: column; | |
} | |
#welcome-section h1 { | |
font-family: "Fredericka the Great", sans-serif; | |
font-size: 3em; | |
} | |
#welcome-section p { | |
font-family: "Antic", sans-serif; | |
font-size: 1.2em; | |
} | |
#projects { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); | |
margin: 20px; | |
background-color: white; | |
} | |
iframe { | |
margin: 20px 100px; | |
width: 350px; | |
height: 250px; | |
border: none; | |
box-shadow: 0px 0px 8px 8px #8AC7F0; | |
} | |
#contact { | |
background-color: #8AC7F0; | |
font-family: "Fredericka the Great", sans-serif; | |
font-size: 2em; | |
text-align: center; | |
padding: 20px; | |
} | |
.project-tile { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
font-family: "Antic", sans-serif; | |
} | |
#links img { | |
width: 50px; | |
padding: 20px; | |
} | |
#links p { | |
font-size: 0.7em; | |
} | |
.project-tile a { | |
text-decoration: none; | |
color: #434343; | |
} | |
h2 { | |
font-family: "Fredericka the Great", sans-serif; | |
font-size: 2em; | |
text-align: center; | |
padding: 20px; | |
} | |
@media (max-width: 600px) { | |
#welcome-section { | |
font-size: 0.5em; | |
} | |
iframe { | |
margin: 0; | |
width: 300px; | |
height: 200px; | |
} | |
#projects { | |
margin: 0; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment