<nav id="navbar">
<a href="#welcome-section">About</a>
<a href="#projects">Projects</a>
<a href="#social">Social</a>
</nav>
<header id="welcome-section">
<h1>Hello! 👋🏻</h1>
<p>My name is Mark Jarnagin</p>
<p>and I am a Web Developer</p>
</header>
<section id="projects">
<h2>Projects</h2>
<div class="projects-container">
<a href="https://codepen.io/FlorinPop17/pen/VwYWMOa" targer="_blank" class="project-tile">
<img src="https://www.florin-pop.com/images/100Days100PRojects/Day%20001.jpg" alt="random meal" />
<p>Random Meal Generator</p>
</a>
<a href="https://codepen.io/FlorinPop17/pen/VwYWMOa" targer="_blank" class="project-tile">
<img src="https://www.florin-pop.com/images/100Days100PRojects/Day%20013.jpg" alt="password generator" />
<p>Passord Generator</p>
</a>
<a href="https://codepen.io/FlorinPop17/pen/VwYWMOa" targer="_blank" class="project-tile">
<img src="https://www.florin-pop.com/images/100Days100PRojects/Day%20016.jpg" alt="clock" />
<p>Clock</p>
</a>
<a href="https://codepen.io/FlorinPop17/pen/VwYWMOa" targer="_blank" class="project-tile">
<img src="https://www.florin-pop.com/images/100Days100PRojects/Day%20018.jpg" alt="typing game" />
<p>Typing Game</p>
</a>
<a href="https://codepen.io/FlorinPop17/pen/VwYWMOa" targer="_blank" class="project-tile">
<img src="https://www.florin-pop.com/images/100Days100PRojects/Day%20031.jpg" alt="new years countdown" />
<p>New Years Countdown</p>
</a>
<a href="https://codepen.io/FlorinPop17/pen/VwYWMOa" targer="_blank" class="project-tile">
<img src="https://www.florin-pop.com/images/100Days100PRojects/Day%20044.jpg" alt="particles" />
<p>Particles</p>
</a>
</div>
</section>
<section id="social" class="bg-social">
<h2>Social Media</h2>
<p>You can find me on</p>
<ul class="social-ul">
<li><a href="https://github.com/markjarnagin" id="profile-link" target="_blank"><i class="fab fa-github"></i></a></li>
<li><a href="https://www.youtube.com/channel/UC9nXUkCNI3PDHi0V6kFPoWA" target="_blank"><i class="fab fa-youtube"></i></a></li>
<li><a href="#" target="https://www.linkedin.com/in/mark-jarnagin-bb801358/" target="_blank"><i class="fab fa-linkedin"></i></a></li>
<li><a href="https://www.instagram.com/MarkJarnagin88/" target="_blank"><i class="fab fa-instagram" target="_blank"></i></a></li>
<li><a href="https://www.facebook.com/mark.jarnagin/" target="_blank"><i class="fab fa-facebook"></i></a></li>
</ul>
</section>
<footer>Made with <i class="fas fa-heart"></i> by Mark Jarnagin</footer>
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
* {
box-sizing: border-box;
}
body {
background-color: #FFFFFF; /* #AECFDF */
font-family: 'Lato', sans-serif;
margin: 0;
}
nav {
background-color: #9F9FAD;
color: #fff;
display: flex;
justify-content: flex-end;
padding: 15px;
position: fixed;
top: 0;
right:0;
left: 0;
z-index:100;
}
nav a {
color: #fff;
position: relative;
margin-left: 20px;
text-decoration: none;
}
nav a::after{
content: '';
border-bottom: 3px solid #fff;
position: absolute;
top: 0;
left: 0;
transform: translateY(10px);
transition: transform 0.3s ease;
opacity: 0;
height: 100%;
width: 100%;
}
nav a:hover::after {
opacity:1;
transform: translateY(0);
}
header {
background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1352&q=80');
background-size: cover;
background-position: center center;
color: #fff;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
height: 100vh;
position: relative;
}
header::after {
content: '';
background-color: #000;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.7;
}
header * {
position: relative;
z-index: 1;
}
header h1 {
font-size: 60px;
margin-bottom: 5px;
margin-top: 0;
}
header p {
font-size: 30px;
margin: 0;
}
footer {
background-color: #9F9FAD; /*#9F9FAD*/
color: #fff;
padding: 10px;
text-align: center;
}
section {
width: 100%;
padding: 0 0;
text-align: center;
}
section h2 {
margin: 20px;
}
section p {
margin-top: 0;
}
.projects-container {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
max-width: 810px;
margin: 20px auto 0;
}
.project-tile {
margin: 10px;
max-width: 250px;
text-decoration: none;
transition: transform 0.3s ease;
}
.project-tile:hover {
transform: scale(1.05);
}
.project-tile p {
color: #000;
font-size: 20px;
margintop: 10px;
}
.project-tile img {
max-width: 100%;
border-radius: 5px;
}
.bg-social {
background-color: #9999C3; /*#FFFFFF*/
color: #fff;
padding: 10px;
}
.social-ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style-type: none;
padding: 0;
margin: 0;
}
.social-ul a {
background-color: orange;
border: 1px solid #fff;
border-radius: 50%;
color: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 25px;
margin: 5px 18px;
text-decoration: none;
height:38px;
width: 38px;
}
footer .fa-heart {
color: red;
}
@media (max-width: 440px) {
section {
padding: 20px;
}
}
// !! 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.
View Compiled
This Pen doesn't use any external JavaScript resources.