HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta -->
<meta charset="UTF-8" />
<title></title>
<!-- Styles -->
<!--
<link rel="stylesheet" href="">
Color Palette 147250
-->
<!--
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Indie+Flower" />
<link href="https://fonts.googleapis.com/css?family=Farro" rel="stylesheet" type="text/css">
-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<script src="https://kit.fontawesome.com/a4e81a8074.js"></script>
</head>
<body>
<main>
<section id="welcome-section" class="container">
<header>
<h1>Leo Vargas</h1>
<h2>Technology Consultant</h2>
<a href="#about_me"><i id="expand_more1" class="material-icons md-96">expand_more</i></a>
<a href="#about_me"><i id="expand_more2" class="material-icons md-96">expand_more</i></a>
</header>
<nav id="navbar">
<ul>
<li class="nav-li-left"><a class="nav-link" href="#about_me">About me</a></li>
<li class="nav-li-right"><a class="nav-link" href="#contact">Contact</a></li>
<li class="nav-li-right"><a class="nav-link" href="#projects">Projects</a></li>
<li class="nav-li-right"><a class="nav-link" href="#welcome-section">Home</a></li>
</ul>
</nav>
</section>
<section id="about_me" class="container">
<h3>Bringing my passion and expert solutions to you!</h3>
<p>I am a seasoned Project and Program Manager which experience spans from Manufacturing Test Engineering to Product Development Management, having also experience on Managing a start-up with focus on providing solutions in Manufacturing Test Development, including software and equipment, for several EMS companies located across Mexico. I have worked with multi-disciplinary and skilled R&D teams located in different geographies, with exposure and interaction with contributors from USA, Hungary, Germany, China, Taiwan, Malaysia and Mexico.</p>
<p>I consider myself a manager with strong hands-on experience supporting internal and external costumers and with proven results on leading projects and teams.</p>
<p>My development skills spans from manufacturing test equipment programs, desktop applications, document processing automation and web.</p>
<div id="banner">
</div>
</section>
<section id="projects" class="container">
<h2>Portfolio</h2>
<div class="project-album">
<div class="project-tile project-left-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/GbPOvd" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/GbPOvd/image/small.png" alt="Tribute Page by LeoVargas">
<p class="project-caption">
Tribute Page for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-center-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/wLNPzm" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/wLNPzm/image/small.png" alt="Survey Form Page by LeoVargas">
<p class="project-caption">
Survey Form Page for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/EBqOvo" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/EBqOvo/image/small.png" alt="Technical Documentation Page by LeoVargas">
<p class="project-caption">
Technical Documentation Page for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/RzmrmJ" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/RzmrmJ/image/small.png" alt="Product Landing Page by LeoVargas">
<p class="project-caption">
Product Landing Page for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/eYYgvpz" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/eYYgvpz/image/small.png" alt="Visualize Data with a Bar Chart by LeoVargas">
<p class="project-caption">
Visualize Data with a Bar Chart for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-left-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/OJJpJJm" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/OJJpJJm/image/small.png" alt="Visualize Data with a Scatterplot Graph by LeoVargas">
<p class="project-caption">
Visualize Data with a Scatterplot Graph for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/LYYWqpr" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/LYYWqpr/image/small.png" alt="Visualize Data with a Heat Map by LeoVargas">
<p class="project-caption">
Visualize Data with a Heat Map for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-left-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/xxbZyqJ" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/xxbZyqJ/image/small.png" alt="Visualize Data with a Choropleth by LeoVargas">
<p class="project-caption">
Visualize Data with a Choropleth for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/eYmNKKx" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/eYmNKKx/image/small.png" alt="Visualize Data with a Treemap by LeoVargas">
<p class="project-caption">
Visualize Data with a Treemap for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-left-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/Exxpdpb" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/Exxpdpb/image/small.png" alt="Build a Markdown Previewer by LeoVargas">
<p class="project-caption">
Build a Markdown Previewer for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/NWWOWPP" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/NWWOWPP/image/small.png" alt="Build a Random Quote Machine by LeoVargas">
<p class="project-caption">
Build a Random Quote Machine for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-left-1">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/mddzzyM" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/mddzzyM/image/small.png" alt="Build a Drum Machine by LeoVargas">
<p class="project-caption">
Build a Drum Machine for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/WNNYEJZ" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/WNNYEJZ/image/small.png" alt="Build a JavaScript Calculator by LeoVargas">
<p class="project-caption">
Build a JavaScript Calculator for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<div id="" class="project-tile project-right-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/QWWzzjN" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/QWWzzjN/image/small.png" alt="Technical Documentation Page by LeoVargas">
<p class="project-caption">
Build a Pomodoro Clock for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
<!--
<div id="" class="project-tile project-left-2">
<div class="project-inner-frame">
<a href="https://codepen.io/leovargas/full/xxbZyqJ" target="_blank">
<img class="project-image" src="https://codepen.io/leovargas/pen/xxbZyqJ/image/small.png" alt="Technical Documentation Page by LeoVargas">
<p class="project-caption">
Technical Documentation Page for FreeCodeCamp.org
<i class="material-icons md-18">open_in_new</i>
</p>
</a>
</div>
</div>
-->
</div>
</section>
<section id="contact" class="container">
<h2>Ready to materialize your projects!</h2>
<form action="mailto:leo.vargas.glez@gmail?subject=I want to work with you" enctype="text/plain">
<div id="contact_me">
<input type="checkbox" id="contact_me-label" name="contact_me" value="contact_me" checked>
<label for="contact_me">Yes, I want to work with you!</label>
</div>
<input type="email" id="email" name="email" placeholder="[email protected]" class="user-entry-borders" required>
<input type="submit" id="submit" value="Submit" class="button submit-button">
</form>
<div id="social-network" class="container">
<a href="https://www.linkedin.com/in/leo-vargas-24b86243" target="_blank"><i class="fab fa-linkedin-in social-icon"></i></a>
<a id="profile-link" href="https://www.freecodecamp.org/fccd950f534-84e4-4c60-9aae-b49ea26c70da" target="_blank"><i class="fab fa-free-code-camp social-icon"></i></a>
<a href="https://codepen.io/leovargas/" target="_blank"><i class="fab fa-codepen social-icon"></i></a>
<a href="https://leovago.wordpress.com" target="_blank"><i class="fab fa-wordpress social-icon"></i></a>
</div>
<footer>
<p>Developed by Leo Vargas @ Magno Technologies</p>
</footer>
</section>
</main>
<!-- Scripts -->
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>
</html>
:root {
@import "https://fonts.googleapis.com/css?family=Lobster";
--std-width: 100%;
--main-doc-width: 80%;
--border-rad: 10px;
--hue: 0;
--sat: 0%;
/* Color pallete */
--light-high: #DEDEDE;
--light-low: #EEEEEE;
--dark-high: #C10000;
--dark-low: #FF4949;
/* Standard color variables */
--color-base: var(--light-low);
--formatted-font-color: var(--dark-high);
--formatted-font-shadow-color: #999;
--button-preferred-bg-color: var(--light-low);
--button-regular-border-color: var(--light-high);
--button-regular-bg-color: var(--light-low);
--button-hover-bg-color: var(--light-high);
--button-hover-color: var(--dark-high);
--anchor-color: var(--dark-low);
--anchor-hover-color: var(--dark-high);
--form-bg-color: white;
--form-color: black;
--form-border-format: 1px solid darkgray;
--form-border-rad: 15px;
--header-height: 140px;
--anchor-top: -140px;
--container-spaced-height: 150px;
}
* {
box-sizing: border-box;
scroll-behavior: smooth;
}
body {
width: var(--std-width, 100%);
background-color: var(--color-base, hsl(0, 0%, 90%));
color: var(--formatted-font-color, hsl(0, 0%, 10%));
font-family: Farro, "Open sans", sans-serif;
overflow-x: hidden;
margin: 0;
}
.container {
display: flex;
flex-flow: column nowrap;
align-content: center;
justify-content: center;
text-align: center;
padding-top: 70px;
}
#welcome-section {
height: 100vh;
}
#welcome-section h1 {
font-size: 6em;
padding: 0;
margin: 0;
/*
animation-name: banner;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
*/
}
@keyframes banner {
0% {
transform: scale(0.9);
color: var(--dark-low);
text-shadow: 5px 5px 5px var(--formatted-font-shadow-color);
}
100% {
transform: scale(1.2);
text-shadow: 5px 5px 10px var(--formatted-font-shadow-color);
}
}
/*
#welcome-section h1:hover {
text-shadow: 5px 5px 10px var(--formatted-font-shadow-color);
}
*/
#welcome-section h2 {
font-size: 3em;
/* text-shadow: 5px 5px 10px var(--formatted-font-shadow-color); */
}
#about_me {
text-align: justify;
}
#about_me h3 {
text-align: center;
margin: auto;
}
#about_me p {
width: 80%;
margin: auto;
padding: 10px;
line-height: 2em;
}
#contact {height: 100vh;
}
.material-icons.md-18 {
font-size: 18px;
padding: 0;
margin: 0;
}
.material-icons.md-24 {
font-size: 24px;
padding: 0;
margin: 0;
}
.material-icons.md-48 {
font-size: 48px;
padding: 0;
margin: 0;
}
.material-icons.md-96 {
font-size: 96px;
padding: 0;
margin: 0;
}
#navbar {
position: fixed;
left: 0px;
right: 0px;
top: 0px;
z-index: 999;
background-image: linear-gradient(to right, var(--dark-high), var(--dark-low));
width: 100%;
padding: 20px;
}
#navbar ul{
list-style-type: none;
margin: 0px;
padding: 0px;
}
.nav-li-left {
display: inline;
float: left;
}
.nav-li-right {
display: inline;
float: right;
}
.nav-link {
padding: 10px;
width: 200px;
padding: 10px 50px;
border: 2px solid var(--button-regular-border-color, hsl(0, 0%, 10%));
background-color: var(--button-regular-bg-color, hsl(0, 0%, 90%));
}
#navbar li:hover {
background-color: var(--button-hover-bg-color, hsl(0, 0%, 60%));
color: var(--button-hover-bg-color, hsl(0, 0%, 10%));
}
a {
text-decoration: none;
color: var(--anchor-color, hsl(0, 0%, 20%));
cursor: pointer;
}
a:hover {
color: var(--anchor-hover-color, hsl(0, 0%, 10%));
font-weight: 700;
/* text-shadow: 5px 5px 5px #999; */
}
#expand_more1 {
display: block;
position: relative;
color: var(--anchor-hover-color, hsl(0, 0%, 20%));
margin: 0px;
padding: 0px;
line-height: 0em;
animation-name: move1;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
#expand_more2 {
display: block;
position: relative;
color: var(--anchor-hover-color, hsl(0, 0%, 20%));
margin: 0px;
padding: 0px;
line-height: 0em;
animation-name: move2;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
@keyframes move1 {
0% { top: 0px; opacity: 0.0;}
25% { top: 25px; opacity: 0.25 }
50% { top: 50px; opacity: 0.50 }
75% { top: 75px; opacity: 0.75 }
100% { top: 100px; opacity: 1 }
}
@keyframes move2 {
0% { top: 25px; opacity: 0.1 }
25% { top: 50px; opacity: 0.3 }
50% { top: 75px; opacity: 0.5 }
75% { top: 100px; opacity: 0.7 }
100% { top: 125px; opacity: 1 }
}
h2 {
text-align: center;
}
.project-album {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: center;
justify-content: center;
padding: 50px 0;
overflow: hidden;
}
.project-tile {
display: flex;
align-items: flex-start;
justify-content: center;
background-color: white;
width: 420px;
height: 280px;
border: 2px solid lightgray;
border-radius: var(--border-rad, 15px);
box-shadow: 5px 5px 5px hsl(180, 0%, 20%);
background-image: linear-gradient(to bottom right, white, lightgray);
}
.project-inner-frame {
background-color: transparent;
width: 90%;
height: 65%;
margin-top: 5%;
border-radius: var(--border-rad, 15px);
}
.project-image {
border-radius: var(--border-rad, 15px);
max-width: 100%;
max-height: 100%;
display: block;
height: auto;
margin: auto;
background-size: cover;
filter: grayscale(90%);
}
.project-image:hover {
filter: none;
}
.project-caption {
text-align: center;
/* font-family: "Indie Flower"; */
font-family: "Open sans", sans-serif;
font-size: 18px;
padding-top: 0px;
}
.project-left-1 {
transform: rotate(-8deg);
}
.project-left-2 {
transform: rotate(-5deg);
}
.project-center-1 {
transform: rotate(-2deg);
}
.project-center-2 {
transform: rotate(2deg);
}
.project-right-1 {
transform: rotate(7deg);
}
footer {
text-align: center;
}
.user-entry-borders {
border: var(--form-border-format, 5px solid darkgray);
border-radius: var(--form-border-rad, 15px);
padding: 10px;
width: 300px;
outline: none;
margin: 10px;
}
input {
transition: box-shadow 0.3s;
}
input:focus {
box-shadow: 0 1px 10px #999;
}
.button {
text-align: center;
font-size: 1.5em;
border-radius: var(--border-rad, 30px);
border: 1px solid var(--light-high);
padding: 10px;
}
.button:hover {
background-color: var(--button-hover-bg-color);
color: var(--dark-high);
cursor: pointer;
}
.submit-button {
background-color: var(--dark-high);
color: var(--light-low);
}
#social-network {
flex-flow: row nowrap;
}
.social-icon {
font-size: 2em;
align-self: center;
justify-self: flex-start;
margin: 20px;
}
@media screen and (max-width: 900px) {
#welcome-section h1 {
font-size: 2em;
padding: 0;
margin: 0;
}
#welcome-section h2 {
font-size: 1.2em;
text-shadow: 5px 5px 10px var(--formatted-font-shadow-color);
}
#expand_more {
font-size: 24px;
}
#about_me p {
width: 100%;
margin: auto;
padding: 10px;
line-height: 1.5em;
}
#navbar {
font-size: 0.8em;
}
.nav-link {
padding: 5px 10px;;
}
}
Also see: Tab Triggers